lua-users home
lua-l archive

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


2011/11/9 David Given <dg@cowlark.com>:
> Benoit Germain wrote:
> [...]
>>
>
> I don't know the code so I have no idea whether this is at all relevant, but
> I ran into a problem like this a few years ago, and it turned out to be a
> problem with fork() and pthreads; the behaviour of a semaphore or mutex is
> undefined if it goes through a fork, and the particular Linux variant I was
> using was silently unlocking all mutexes in the child process.
>
> That took me about nine months to diagnose.

Lanes doesn't create processes, only threads, so I'll assume this is
not the case :-).


-- 
Benoit.