
|
[haiku-development]
||
[Date Prev]
[08-2007 Date Index]
[Date Next]
||
[Thread Prev]
[08-2007 Thread Index]
[Thread Next]
[haiku-development] Re: rld_lock gone missing?
- From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Fri, 10 Aug 2007 19:13:26 +0200
On 2007-08-09 at 17:31:20 [+0200], Jonas Sundström <jonas@xxxxxxxxxxx>
wrote:
> I just saw a Haiku sh -login process without a rld_lock
> semaphore, only having the fork_lock and the env_lock.
>
> Is that supposed to happen?
Good catch. I guess, the runtime loader needs to register an fork hook, or
the child fork initialization.
It also doesn't look quit right, that the __init_fork(), which initializes
a static sForkLock variable -- is called by fork(), but the variable is
already used by atfork().
CU, Ingo
|

|