diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-05-28 15:37:31 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-05-28 15:37:31 -0700 |
commit | 3ed015122f159b4fade8e4feecb53fe1f84fa95f (patch) | |
tree | 328027f6ca9b89c9afcd76443863063182b68ea9 /ChangeLog | |
parent | f21754707cf42f18523aafdaad88b8ef3c317e37 (diff) | |
download | glibc-3ed015122f159b4fade8e4feecb53fe1f84fa95f.tar glibc-3ed015122f159b4fade8e4feecb53fe1f84fa95f.tar.gz glibc-3ed015122f159b4fade8e4feecb53fe1f84fa95f.tar.bz2 glibc-3ed015122f159b4fade8e4feecb53fe1f84fa95f.zip |
NaCl: Make thread exit wake pthread_join.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,13 @@ 2015-05-28 Roland McGrath <roland@hack.frob.com> + * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached, + set THREAD_SELF->tid to a magic value and futex-wake it. + Pass its address to the thread_exit system call. + * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low + bit is clear. + * sysdeps/nacl/lowlevellock.h: New file. + * sysdeps/nacl/lll_timedwait_tid.c: New file. + * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait): Add TIMEOUT to current time, don't subtract it. |