bug-hurd
[Top][All Lists]
Advanced

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

Re: RFC: Lightweight synchronization mechanism for gnumach v3


From: Agustina Arzille
Subject: Re: RFC: Lightweight synchronization mechanism for gnumach v3
Date: Fri, 15 Apr 2016 14:59:11 -0300

On 2016-04-15 13:22, Samuel Thibault wrote:
Hello,

I have commited it, thanks a lot!

Now eager to see the libpthread changes, so we get much more efficiency,
notably in the contended case :)

Samuel

Great! Thanks a lot, Samuel! :3

Coincidentally, my copyright assignment was just finished, so this came
just in time.

Regarding the new libpthread: I can publish it with no problem, although
it's a standalone lib and not a glibc-add on yet, because I wanted to
test it well first.

Also - and I should have mentioned this earlier - I added an additional
RPC in the kernel to implement the new libpthread. It's the same as with
'thread_terminate_release', only it receives an additional parameter: An
address to which the kernel notifies via 'gsync_wake' once the thread has
terminated (Similar to 'set_tid_address' in Linux).

I had to add that in order to correctly implement 'pthread_join', since
otherwise, there can be some subtle bugs when handling terminated pthreads.
I can also publish the source for that; it's actually really simple.

Anyway, I'll set up a git repo with my libpthread so you guys can
check it out and comment on it :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]