From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user Subject: Re: Guile + pthreads + reentrancy? Date: Sun, 21 Mar 2004 00:02:39 +0100 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <874qsjnmuo.fsf@zagadka.ping.de> References: <16442.35630.790674.12804@gargle.gargle.HOWL> <16453.9444.628161.289892@gargle.gargle.HOWL> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079824045 14925 80.91.224.253 (20 Mar 2004 23:07:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Mar 2004 23:07:25 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Mar 21 00:07:21 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B4pYn-0008SO-00 for ; Sun, 21 Mar 2004 00:07:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4pXk-0004Ul-P1 for guile-user@m.gmane.org; Sat, 20 Mar 2004 18:06:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B4pXc-0004U6-M8 for guile-user@gnu.org; Sat, 20 Mar 2004 18:06:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B4pX6-0004Mw-H9 for guile-user@gnu.org; Sat, 20 Mar 2004 18:06:07 -0500 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4pUK-0003vY-SI for guile-user@gnu.org; Sat, 20 Mar 2004 18:02:44 -0500 Original-Received: from dialin.speedway15.dip57.dokom.de ([195.253.15.57] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 1B4pW3-0003As-00 for guile-user@gnu.org; Sun, 21 Mar 2004 00:04:32 +0100 Original-Received: (qmail 3942 invoked by uid 1000); 20 Mar 2004 23:02:39 -0000 Original-To: bindej@rpi.edu In-Reply-To: <16453.9444.628161.289892@gargle.gargle.HOWL> (bindej@rpi.edu's message of "Tue, 2 Mar 2004 19:20:52 -0500") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:2955 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2955 bindej@rpi.edu writes: > I'm now converting my code to use scm_spawn_thread instead of > pthread_create. This is not a problem, but there doesn't seem to be > any public interface to get a scm_t_thread out of the SCM object. This shouldn't be necessary, scm_t_thread is 'internal'. > This is a serious problem because even functions such as > scm_thread_join take scm_t_thread arguments, and are thus unusable > outside of Guile. Use scm_join_thread, which takes a SCM thread object. The docs need some work, probably... -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user