From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: About removing the low level thread API Date: Tue, 19 Apr 2005 08:51:25 +1000 Message-ID: <87d5srpuky.fsf@zip.com.au> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113866074 21912 80.91.229.2 (18 Apr 2005 23:14:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Apr 2005 23:14:34 +0000 (UTC) Cc: guile-user@gnu.org, guile-devel@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Apr 19 01:14:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DNfRU-00061G-8X for guile-user@m.gmane.org; Tue, 19 Apr 2005 01:14:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNfVg-0004FU-DU for guile-user@m.gmane.org; Mon, 18 Apr 2005 19:18:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DNfSe-0002pJ-7H for guile-user@gnu.org; Mon, 18 Apr 2005 19:15:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DNfSX-0002oH-7M for guile-user@gnu.org; Mon, 18 Apr 2005 19:15:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNfSV-0006Gy-KD; Mon, 18 Apr 2005 19:15:16 -0400 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DNf7j-00030T-HZ; Mon, 18 Apr 2005 18:53:48 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout1.pacific.net.au (8.12.3/8.12.3/Debian-7.1) with ESMTP id j3IMpZJu015138; Tue, 19 Apr 2005 08:51:35 +1000 Original-Received: from localhost (ppp2FCA.dyn.pacific.net.au [61.8.47.202]) by mailproxy2.pacific.net.au (8.12.3/8.12.3/Debian-7.1) with ESMTP id j3IMpX0H012264; Tue, 19 Apr 2005 08:51:34 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1DNf5S-0000oK-00; Tue, 19 Apr 2005 08:51:26 +1000 Original-To: Marius Vollmer Mail-Copies-To: never In-Reply-To: (Marius Vollmer's message of "Thu, 03 Mar 2005 17:20:23 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:4391 gmane.lisp.guile.devel:4906 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:4391 Marius Vollmer writes: > > On the other hand, Guile itself both works on systems that do provide > a pthread API, and on systems that do not. C code written for Guile > might want to support both cases as well (being properly thread safe > by default, but still compilable even when the pthread API is not > available). guile-gtk is an example of that. I still don't think guile needs to provide functions or whatever that merely shadow pthreads, but some crib notes in the manual or somewhere on how to work with threads in C and support both guile 1.6 and 1.8 would be good. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user