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: Threads and asyncs Date: 02 Sep 2002 23:53:23 +0200 Sender: guile-user-admin@gnu.org Message-ID: <87bs7ggiss.fsf@zagadka.ping.de> References: <87it1oglmq.fsf@zagadka.ping.de> <200209022124.OAA07625@morrowfield.regexps.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031003664 28056 127.0.0.1 (2 Sep 2002 21:54:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Sep 2002 21:54:24 +0000 (UTC) Cc: guile-devel@gnu.org, guile-user@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17lz9L-0007IP-00 for ; Mon, 02 Sep 2002 23:54:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17lzAp-0006Yv-00; Mon, 02 Sep 2002 17:55:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17lz8K-0004VW-00 for guile-user@gnu.org; Mon, 02 Sep 2002 17:53:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17lz8G-0004MF-00 for guile-user@gnu.org; Mon, 02 Sep 2002 17:53:19 -0400 Original-Received: from dialin.speedway42.dip21.dokom.de ([195.138.42.21] helo=zagadka.ping.de) by monty-python.gnu.org with smtp (Exim 4.10) id 17lz8E-0004IY-00 for guile-user@gnu.org; Mon, 02 Sep 2002 17:53:15 -0400 Original-Received: (qmail 20905 invoked by uid 1000); 2 Sep 2002 21:53:23 -0000 Original-To: Tom Lord In-Reply-To: <200209022124.OAA07625@morrowfield.regexps.com> Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:893 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:893 Tom Lord writes: > > I would like to specify explicitely that marking a system-async will > > run its thunk in the thread that did the marking. > > > Why can't that be layered? Hmm, I don't see the need. > In other words, start with thread-independent asyncs (which have the > virtue of simplicity and speed) [...] I don't think they are simpler or faster. > Is there no use for thread-independent system-asyncs? I can't think of any, right now. The question is not whether to execute a async in a thread or not, the question is only, in which thread. A thread-independent wouldn't care in what thread it is executed so it is OK to run it in the thread that has marked it. -- 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