diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2006-10-17 20:57:29 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2006-10-17 20:57:29 +0000 |
commit | e8d3b6a8553a5f79a00b959f9a6e7211edadc424 (patch) | |
tree | b4df683a68f7d7c48a3daa52cc8317361a3d0339 /lib/libpthread/uthread/uthread_setsockopt.c | |
parent | 2a11b595da5be15d0b96062f21c6b158c2afa031 (diff) |
Don't grab _FD_LOCK and queue up behind other threads as
this can potentially block indefinitely. Instead just
protect against fd state transitions and perform
the _thread_sys_shutdown(). Fixes deadlock reported by
Tero Koskinen <tero.koskinen at iki.fi>. okay kettenis@
Diffstat (limited to 'lib/libpthread/uthread/uthread_setsockopt.c')
0 files changed, 0 insertions, 0 deletions