diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-20 04:45:31 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-02-20 04:45:31 +0100 |
commit | 91acef6cdf69f4ff85fb5a72b9b34cc03b0a4be0 (patch) | |
tree | 6d2b69bdb55b48db741b7db02520ac94c1db6c56 /hurd | |
parent | 0234227d25807a330c27d549b9c17956a2f3fe35 (diff) |
The critical section lock _can_ be held in that place.
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/thread-cancel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hurd/thread-cancel.c b/hurd/thread-cancel.c index c8b6cf52cd..f463f92e3b 100644 --- a/hurd/thread-cancel.c +++ b/hurd/thread-cancel.c @@ -52,7 +52,6 @@ hurd_thread_cancel (thread_t thread) return 0; } - assert (! __spin_lock_locked (&ss->critical_section_lock)); __spin_lock (&ss->critical_section_lock); __spin_lock (&ss->lock); err = __thread_suspend (thread); |