Apply system_cancel patch
This commit is contained in:
parent
17f422866a
commit
e14328f4f7
|
@ -1,3 +1,8 @@
|
|||
2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
|
||||
|
||||
* syscalls.cc (system): Add pthread_testcancel call.
|
||||
* thread.cc: Update list of cancellation points.
|
||||
|
||||
2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
|
||||
|
||||
* wait.cc: Include thread.h
|
||||
|
|
|
@ -1374,6 +1374,8 @@ done:
|
|||
extern "C" int
|
||||
system (const char *cmdstring)
|
||||
{
|
||||
pthread_testcancel ();
|
||||
|
||||
if (check_null_empty_str_errno (cmdstring))
|
||||
return -1;
|
||||
|
||||
|
|
|
@ -464,7 +464,7 @@ pread ()
|
|||
pthread_cond_timedwait ()
|
||||
pthread_cond_wait ()
|
||||
*pthread_join ()
|
||||
pthread_testcancel ()
|
||||
*pthread_testcancel ()
|
||||
putmsg ()
|
||||
putpmsg ()
|
||||
pwrite ()
|
||||
|
@ -478,7 +478,7 @@ sigtimedwait ()
|
|||
sigwait ()
|
||||
sigwaitinfo ()
|
||||
*sleep ()
|
||||
system ()
|
||||
*system ()
|
||||
tcdrain ()
|
||||
*usleep ()
|
||||
*wait ()
|
||||
|
|
Loading…
Reference in New Issue