lua-users home
lua-l archive

Re: LuaLanes on Ubuntu 11.10, kernel 3.0

[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.

AltStyle によって変換されたページ (->オリジナル) /