From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: wip-threads-and-fork Date: Sun, 26 Feb 2012 10:35:20 +0800 Message-ID: References: <877gzx0ye0.fsf@pobox.com> <878vjupmw7.fsf@pobox.com> <87ipixoajf.fsf@pobox.com> <87boopo7cr.fsf@pobox.com> <878vjskqk7.fsf@pobox.com> <87zkc694iq.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d042fd72259f46104b9d4d87e X-Trace: dough.gmane.org 1330223738 22395 80.91.229.3 (26 Feb 2012 02:35:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2012 02:35:38 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Feb 26 03:35:37 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S1TxW-0003UK-2D for guile-devel@m.gmane.org; Sun, 26 Feb 2012 03:35:34 +0100 Original-Received: from localhost ([::1]:33916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1TxV-0002SW-IX for guile-devel@m.gmane.org; Sat, 25 Feb 2012 21:35:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1TxP-0002SN-2q for guile-devel@gnu.org; Sat, 25 Feb 2012 21:35:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1TxK-0004Jd-Bh for guile-devel@gnu.org; Sat, 25 Feb 2012 21:35:26 -0500 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:53952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1TxK-0004JX-5A for guile-devel@gnu.org; Sat, 25 Feb 2012 21:35:22 -0500 Original-Received: by vcbf13 with SMTP id f13so2905558vcb.0 for ; Sat, 25 Feb 2012 18:35:21 -0800 (PST) Received-SPF: pass (google.com: domain of nalaginrut@gmail.com designates 10.220.141.201 as permitted sender) client-ip=10.220.141.201; Authentication-Results: mr.google.com; spf=pass (google.com: domain of nalaginrut@gmail.com designates 10.220.141.201 as permitted sender) smtp.mail=nalaginrut@gmail.com; dkim=pass header.i=nalaginrut@gmail.com Original-Received: from mr.google.com ([10.220.141.201]) by 10.220.141.201 with SMTP id n9mr4955903vcu.66.1330223721082 (num_hops = 1); Sat, 25 Feb 2012 18:35:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ajfhetEGMX4pC0SdbgAAb1yDM64JUzbpVQOjjRPJbsQ=; b=PEywAlH+iF04mk75zmO0h8pmP/6iR5pNcoEZuboQA2AyDeom2SbPUOBMqWss/+X/ux pkvm8yAvKX9KHHI7nI1eWZi+tlcWvvDj2MHOY9a5a6k5hZDb7Ber0HAtUgbbO9WkR5G3 66LSQLrNe2+4MzCn18giEXs0K9+VJxdRqgfYw= Original-Received: by 10.220.141.201 with SMTP id n9mr3931387vcu.66.1330223720821; Sat, 25 Feb 2012 18:35:20 -0800 (PST) Original-Received: by 10.52.164.34 with HTTP; Sat, 25 Feb 2012 18:35:20 -0800 (PST) In-Reply-To: <87zkc694iq.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.169 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:13952 Archived-At: --f46d042fd72259f46104b9d4d87e Content-Type: text/plain; charset=UTF-8 On Sun, Feb 26, 2012 at 2:01 AM, Andy Wingo wrote: > Hi! > > On Sat 25 Feb 2012 03:30, Nala Ginrut writes: > > > 'primitive-fork' shouldn't be removed directly according to > > previous discussion, unless the user chosen ptheads. If they do not > > use threads, then primitive-fork would be useful, is that right? > > Indeed. In Guile master, primitive-fork is always there (if your system > supports fork). However, invoking it will raise an error if you have > created other threads. You can only use it before creating threads. > > Is that good for your purposes? > > All right, I think my problem is done ;-) > Andy > -- > http://wingolog.org/ > --f46d042fd72259f46104b9d4d87e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Sun, Feb 26, 2012 at 2:01 AM, Andy Wi= ngo <wingo@pobox.co= m> wrote:
Hi!

On Sat 25 Feb 2012 03:30, Nala Ginrut <nalaginrut@gmail.com> writes:

> 'primitive-fork' shouldn't be removed directly according t= o
> previous=C2=A0discussion, unless the user chosen ptheads. If they do n= ot
> use threads, then primitive-fork would be useful, is that right? =C2= =A0

Indeed. =C2=A0In Guile master, primitive-fork is always there (if you= r system
supports fork). =C2=A0However, invoking it will raise an error if you have<= br> created other threads. =C2=A0You can only use it before creating threads.
Is that good for your purposes?


All right, I think my problem is done ;-)
= =C2=A0
Andy
--
http://wingolog.org/=

--f46d042fd72259f46104b9d4d87e--