Re: A mess with GOOPS

2011-09-03 Thread Andy Wingo
Hi Panicz,

On Fri 02 Sep 2011 21:53, Panicz Maciej Godek  writes:

> In other words, classes ,  and  have nothing in
> common, which requires me to triple the number of methods that could
> accept any of these types.

We should fix this.  We can probably do it in 2.0.  Interested in
sending a patch?

Currently this stuff is in C, unfortunately.  Perhaps it should move to
Scheme at some point, but if you just wanted to add an  or
 superclass, see goops.c.  Look for the  stuff
and follow the patterns.

Andy
-- 
http://wingolog.org/



Re: open-pipe deadlocked

2011-09-03 Thread Ludovic Courtès
Hi!

ri...@happyleptic.org skribis:

>> For 1.8, could you try running Helgrind and see what happens?
>
> Helgrind complains about loads of 'possible data race'

Actually 1.8 has a serious problem when it comes to multi-threading:
memoization, which modifies the source code tree structure, is not
thread-safe.

I’m not sure if this could explain your deadlock, but it could
potentially lead to unexpected behavior.

Thanks,
Ludo’.