mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
1f4049bf91
Programming Volume 2, 2nd Edition". It contains the library and headers used in the examples as well as all programs from the text that compile on FreeBSD systems. For more information on the book, see http://www.phptr.com/ptrbooks/ptr_013490012X.html For more info on W. Richard Stevens, see http://www.kohala.com/~rstevens/ PR: ports/14058 Submitted by: James FitzGibbon <james@targetnet.com>
39 lines
657 B
Plaintext
39 lines
657 B
Plaintext
--- lib/wrappthread.c.orig Thu Sep 30 11:03:00 1999
|
|
+++ lib/wrappthread.c Thu Sep 30 11:04:50 1999
|
|
@@ -83,17 +83,6 @@
|
|
}
|
|
|
|
void
|
|
-Pthread_kill(pthread_t tid, int signo)
|
|
-{
|
|
- int n;
|
|
-
|
|
- if ( (n = pthread_kill(tid, signo)) == 0)
|
|
- return;
|
|
- errno = n;
|
|
- err_sys("pthread_kill error");
|
|
-}
|
|
-
|
|
-void
|
|
Pthread_mutexattr_init(pthread_mutexattr_t *attr)
|
|
{
|
|
int n;
|
|
@@ -274,17 +263,6 @@
|
|
return;
|
|
errno = n;
|
|
err_sys("pthread_key_create error");
|
|
-}
|
|
-
|
|
-void
|
|
-Pthread_setcancelstate(int state, int *oldstate)
|
|
-{
|
|
- int n;
|
|
-
|
|
- if ( (n = pthread_setcancelstate(state, oldstate)) == 0)
|
|
- return;
|
|
- errno = n;
|
|
- err_sys("pthread_setcancelstate error");
|
|
}
|
|
|
|
void
|