From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: un-determined behavior of asyncs Date: Mon, 20 May 2013 20:37:05 +0200 Message-ID: <878v39bir2.fsf@pobox.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369075041 3987 80.91.229.3 (20 May 2013 18:37:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 May 2013 18:37:21 +0000 (UTC) Cc: guile-user@gnu.org, guile-devel To: Chaos Eternal Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon May 20 20:37:22 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UeUxW-0005Vi-1I for guile-devel@m.gmane.org; Mon, 20 May 2013 20:37:22 +0200 Original-Received: from localhost ([::1]:36560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeUxV-00006F-GN for guile-devel@m.gmane.org; Mon, 20 May 2013 14:37:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeUxP-0008Tk-1v for guile-devel@gnu.org; Mon, 20 May 2013 14:37:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeUxK-0003dw-3a for guile-devel@gnu.org; Mon, 20 May 2013 14:37:15 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:42979 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeUxK-0003dr-0G; Mon, 20 May 2013 14:37:10 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 9D4CACC4D; Mon, 20 May 2013 14:37:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=13OrpeBjaBGpPQyMxKH3Pg7QVek=; b=jBCgt/ 2Gu0gmLGYvKWcZv/FaJms03q2yd2OFDT5lnFPmnEj0OOEPJn411tIK52OjUOAB24 fRXfYSkQ+D5ihNCKFH9IHoxSvCnhD+YnftigxoE8b0M+Le0sHiW8SRDtFkYkjjGs wjB4AWwI4bZiyDFOucb9ILx9E7BkD5Tz1lLNk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Eebi1Va1aFhkJpihoEcd186+oNEnrIHe 9kDXI0cMuVyKmgAkEPzrn2Wrshkq7DztjVsFbQor6ZtyI7hdnOKUawmlC4ltCjBT VBXdoenBM1SirBfVTYhvXjQwgqTxUqbCeBPi465u4Cg8iAId96Q+M1lruZ7M8yrW bQo1lN3M5Js= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 936EFCC4C; Mon, 20 May 2013 14:37:09 -0400 (EDT) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 943BFCC4B; Mon, 20 May 2013 14:37:08 -0400 (EDT) In-Reply-To: (Chaos Eternal's message of "Mon, 20 May 2013 22:44:26 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 47184CD2-C17C-11E2-B7B6-9F710E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16393 gmane.lisp.guile.user:10354 Archived-At: On Mon 20 May 2013 16:44, Chaos Eternal writes: > I just want to understand whether this random execution order of > asyncs is designed or desired or not-specified ? Your program has no synchronization so I am not sure what you expect it to do. There's not even any guarantee that the thread is running at all, AFAICS. You may have come upon a bug but I don't understand the test case very well. Andy -- http://wingolog.org/