diff options
| author | David Xu <davidxu@FreeBSD.org> | 2006-03-01 23:38:53 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2006-03-01 23:38:53 +0000 |
| commit | 5f2252c2b71ebb03cf61ed8ed8ecde2af885d508 (patch) | |
| tree | 24694366daacaef4f85c7be3b241160ab8e5a3ec | |
| parent | 2456c0ea8897d1280b4ee881969a2ca7c52059c6 (diff) | |
Notes
| -rw-r--r-- | lib/librt/sigev_thread.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/librt/sigev_thread.c b/lib/librt/sigev_thread.c index 695a643f75c05..f942e575f1c7f 100644 --- a/lib/librt/sigev_thread.c +++ b/lib/librt/sigev_thread.c @@ -417,9 +417,10 @@ sigev_service_loop(void *arg) __sigev_list_unlock(); sn->sn_dispatch(sn, &si); after_dispatch(tn); - } else + } else { tn->tn_cur = NULL; - __sigev_list_unlock(); + __sigev_list_unlock(); + } } pthread_cleanup_pop(0); return (0); |
