guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #33996] 2.0.2: Crash related to ports and threads


From: Andy Wingo
Subject: Re: [bug #33996] 2.0.2: Crash related to ports and threads
Date: Thu, 18 Aug 2011 19:06:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Thu 18 Aug 2011 15:42, address@hidden writes:

> -[ Thu, Aug 18, 2011 at 11:36:37AM +0200, Andy Wingo ]----
>> Oh dear, this is a nasty one.  The issue is that Guile's ports are not
>> threadsafe.  I hadn't thought about this one...
>
> Aren't they supposed to be? I though that was what scm_i_port_table_mutex
> was there for.

No, that is to protect the port table, not the ports themselves.  See
fport.c:fport_write for an example of an unsafe function.  This will be
nasty to fix correctly.

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]