Apply handle_sigsuspend patch
This commit is contained in:
parent
2673d5f209
commit
3457ce4d88
@ -1,3 +1,9 @@
|
|||||||
|
2003-01-10 Thomas Pfaff <tpfaff@gmx.net>
|
||||||
|
|
||||||
|
* exceptions.cc (handle_sigsuspend): Add pthread_testcancel call.
|
||||||
|
Wait for signal and cancellation event.
|
||||||
|
* thread.cc: Update list of cancellation points.
|
||||||
|
|
||||||
2003-01-14 David Huang <davehzhr@hotmail.com>
|
2003-01-14 David Huang <davehzhr@hotmail.com>
|
||||||
|
|
||||||
* fhandler_dsp.cc (fhandler_dsp::ioctl): Add limited support for
|
* fhandler_dsp.cc (fhandler_dsp::ioctl): Add limited support for
|
||||||
@ -107,7 +113,7 @@
|
|||||||
(__pthread_mutex_unlock): Return pthread_mutex::UnLock
|
(__pthread_mutex_unlock): Return pthread_mutex::UnLock
|
||||||
errorcode.
|
errorcode.
|
||||||
(__pthread_mutex_destroy): Call pthread_mutex::Destroy to
|
(__pthread_mutex_destroy): Call pthread_mutex::Destroy to
|
||||||
destroy mutex.
|
destroy mutex.
|
||||||
(__pthread_mutexattr_settype): Allow errorchecking and recursive
|
(__pthread_mutexattr_settype): Allow errorchecking and recursive
|
||||||
types.
|
types.
|
||||||
* thread.h (MUTEX_LOCK_COUNTER_INITIAL): New define.
|
* thread.h (MUTEX_LOCK_COUNTER_INITIAL): New define.
|
||||||
|
@ -576,7 +576,8 @@ handle_sigsuspend (sigset_t tempmask)
|
|||||||
// interested in through.
|
// interested in through.
|
||||||
sigproc_printf ("old mask %x, new mask %x", oldmask, tempmask);
|
sigproc_printf ("old mask %x, new mask %x", oldmask, tempmask);
|
||||||
|
|
||||||
WaitForSingleObject (signal_arrived, INFINITE);
|
pthread_testcancel ();
|
||||||
|
pthread::cancelable_wait (signal_arrived, INFINITE);
|
||||||
|
|
||||||
set_sig_errno (EINTR); // Per POSIX
|
set_sig_errno (EINTR); // Per POSIX
|
||||||
|
|
||||||
|
@ -458,7 +458,7 @@ msgsnd ()
|
|||||||
msync ()
|
msync ()
|
||||||
nanosleep ()
|
nanosleep ()
|
||||||
open ()
|
open ()
|
||||||
pause ()
|
*pause ()
|
||||||
poll ()
|
poll ()
|
||||||
pread ()
|
pread ()
|
||||||
pthread_cond_timedwait ()
|
pthread_cond_timedwait ()
|
||||||
@ -472,8 +472,8 @@ read ()
|
|||||||
readv ()
|
readv ()
|
||||||
select ()
|
select ()
|
||||||
*sem_wait ()
|
*sem_wait ()
|
||||||
sigpause ()
|
*sigpause ()
|
||||||
sigsuspend ()
|
*sigsuspend ()
|
||||||
sigtimedwait ()
|
sigtimedwait ()
|
||||||
sigwait ()
|
sigwait ()
|
||||||
sigwaitinfo ()
|
sigwaitinfo ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user