--- pthread.h.in 2001/01/01 12:51:08 1.54
+++ pthread.h.in 2001/03/24 14:27:29 1.55
@@ -224,7 +224,7 @@
#define PTHREAD_DESTRUCTOR_ITERATIONS 4
#define PTHREAD_KEYS_MAX 256
#define PTHREAD_STACK_MIN 8192
-#define PTHREAD_THREADS_MAX 10000 /* actually now restriction */
+#define PTHREAD_THREADS_MAX 10000 /* actually yet no restriction */
/*
* Flags for threads and thread attributes.
@@ -480,6 +480,10 @@
extern ssize_t __pthread_write(int, const void *, size_t);
extern ssize_t __pthread_readv(int, const struct iovec *, int);
extern ssize_t __pthread_writev(int, const struct iovec *, int);
+extern ssize_t __pthread_recv(int, void *, size_t, int);
+extern ssize_t __pthread_send(int, const void *, size_t, int);
+extern ssize_t __pthread_recvfrom(int, void *, size_t, int, struct sockaddr *, int *);
+extern ssize_t __pthread_sendto(int, const void *, size_t, int, struct sockaddr *, int);
extern ssize_t __pthread_pread(int, void *, size_t, off_t);
extern ssize_t __pthread_pwrite(int, const void *, size_t, off_t);
@@ -496,6 +500,10 @@
#define write __pthread_write
#define readv __pthread_readv
#define writev __pthread_writev
+#define recv __pthread_recv
+#define send __pthread_send
+#define recvfrom __pthread_recvfrom
+#define sendto __pthread_sendto
#define pread __pthread_pread
#define pwrite __pthread_pwrite
#endif
|