[kaffe] Pthreads diff
Guilhem Lavaux
guilhem at kaffe.org
Wed Nov 3 11:21:21 PST 2004
Eric Anholt wrote:
> Attached is a patch for a few things I noticed while going through
> pthreads:
>
> - jthread_atexit wasn't implemented, so runfinalizer wouldn't get
> called.
> - jthread_spinon/off wasn't implemented (used in
> enter/leaveUnsafeRegion), so there may have been thread-unsafeness in
> some library stuff.
> - incr/decr of nonDaemons wasn't protected by locking.
> - Fix a case of pendingExits not being protected by locking.
>
> Does this patch look sane?
>
> Related notes:
> - tWatchdogRun could use some locking.
>
Hi Eric,
Thanks ! The patch looks fine to me. I've tested it locally and I don't
see any regressions. I'm merging it asap.
Cheers,
Guilhem.
More information about the kaffe
mailing list