Fri May 3 13:32:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Sat, 4 May 1996 09:26:12 +0000 (09:26 +0000)
committerroland <roland>
Sat, 4 May 1996 09:26:12 +0000 (09:26 +0000)
commit0f9c76c5d2696633156ce6b3906325ad50e652f5
tree73a7d54510c9ab21a825734c2a320e42030376b4
parent6e2122928696f81397bcc04cb2965980fd395adb
Fri May  3 13:32:08 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
  flag with a spin lock.
(_hurd_critical_section_lock): Use spin_try_lock on that to see if we
  get it.  No need to take SS->lock at all.
(_hurd_critical_section_unlock): Unlock SS->critical_section_lock
instead of clearing the old flag member.
* hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
test the critical section state.
* hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
  instead of testing (_hurd_exec_flags & EXEC_TRACED).
(_S_msg_sig_post): Take sigcode arg and pass it through.
(_S_msg_sig_post_untraced): Likewise.
(reauth_proc): Don't pass proc port in auth_user_authenticate.
hurd/hurdsig.c