diff options
author | Roland McGrath <roland@gnu.org> | 1996-07-07 22:45:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-07-07 22:45:05 +0000 |
commit | e5adb313f5e7aa76b51b6475b71650159d52fc78 (patch) | |
tree | 821af1dbbca2a855627726b303a473bd7c62e36e /sysdeps | |
parent | 850fe75ee951266fde6ab20c2e4e7f1931f41673 (diff) | |
download | glibc-e5adb313f5e7aa76b51b6475b71650159d52fc78.zip glibc-e5adb313f5e7aa76b51b6475b71650159d52fc78.tar.gz glibc-e5adb313f5e7aa76b51b6475b71650159d52fc78.tar.bz2 |
Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
critical section lock before unlinking dying active resources.
The unlock just before return is right (i.e. old code unlocked twice).
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/jmp-unwind.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/jmp-unwind.c b/sysdeps/mach/hurd/jmp-unwind.c index fcb0911..46e4b61 100644 --- a/sysdeps/mach/hurd/jmp-unwind.c +++ b/sysdeps/mach/hurd/jmp-unwind.c @@ -49,7 +49,6 @@ _longjmp_unwind (jmp_buf env, int val) _JMPBUF_UNWINDS (env[0].__jmpbuf, ss->preempters)) ss->preempters = ss->preempters->next; - __spin_unlock (&ss->critical_section_lock); __spin_unlock (&ss->lock); /* Iterate over the current thread's list of active resources. |