On Thu 18 Aug 2011 15:42, ri...@happyleptic.org 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/