FreeBSD Bugzilla – Attachment 12147 Details for
Bug 23647
libc_r: non-delivery of previously blocked signals
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 962 bytes, created by
Anton Berezin
on 2000-12-19 18:00:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Anton Berezin
Created:
2000-12-19 18:00:04 UTC
Size:
962 bytes
patch
obsolete
>--- lib/libc_r/uthread/uthread_kern.c.orig Tue Dec 19 18:19:19 2000 >+++ lib/libc_r/uthread/uthread_kern.c Tue Dec 19 18:28:37 2000 >@@ -203,6 +203,11 @@ _thread_kern_scheduler(void) > _thread_sig_check_pending(_thread_run); > } > >+ /* Handle any pending signals */ >+ _queue_signals = 1; >+ dequeue_signals(); >+ _queue_signals = 0; >+ > /* > * Enter a scheduling loop that finds the next thread that is > * ready to run. This loop completes when there are no more threads >--- lib/libc_r/uthread/uthread_sig.orig Tue Dec 19 18:19:31 2000 >+++ lib/libc_r/uthread/uthread_sig.c Tue Dec 19 18:26:21 2000 >@@ -483,6 +483,14 @@ _thread_sig_handle_pending(void) > */ > thread_sig_add(pthread, sig, > /*has_args*/ 1); >+ } else { >+ /* >+ * We do not want to accidentally >+ * loose the signal, will try to >+ * handle it at some later time: >+ */ >+ _thread_sigq[i].blocked = 0; >+ _thread_sigq[i].pending = 1; > } > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23647
: 12147