Apply system_cancel patch

This commit is contained in:
Thomas Pfaff 2003-01-14 20:19:27 +00:00
parent 17f422866a
commit e14328f4f7
3 changed files with 9 additions and 2 deletions

View File

@ -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> 2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
* wait.cc: Include thread.h * wait.cc: Include thread.h

View File

@ -1374,6 +1374,8 @@ done:
extern "C" int extern "C" int
system (const char *cmdstring) system (const char *cmdstring)
{ {
pthread_testcancel ();
if (check_null_empty_str_errno (cmdstring)) if (check_null_empty_str_errno (cmdstring))
return -1; return -1;

View File

@ -464,7 +464,7 @@ pread ()
pthread_cond_timedwait () pthread_cond_timedwait ()
pthread_cond_wait () pthread_cond_wait ()
*pthread_join () *pthread_join ()
pthread_testcancel () *pthread_testcancel ()
putmsg () putmsg ()
putpmsg () putpmsg ()
pwrite () pwrite ()
@ -478,7 +478,7 @@ sigtimedwait ()
sigwait () sigwait ()
sigwaitinfo () sigwaitinfo ()
*sleep () *sleep ()
system () *system ()
tcdrain () tcdrain ()
*usleep () *usleep ()
*wait () *wait ()