summaryrefslogtreecommitdiff
path: root/implement.h
diff options
context:
space:
mode:
authorbje <bje>1998-07-12 14:57:13 +0000
committerbje <bje>1998-07-12 14:57:13 +0000
commitaaed4badccb03dc0a7b527f437df54f992e2d988 (patch)
tree2dcdce52120bcc055d78ae2566ca1951d8566db0 /implement.h
parent0a790581437fe78ed535ea5adec6213276011307 (diff)
1998-07-13 Ben Elliston <bje@cygnus.com>
* implement.h (PTHREADS_THREADS_MAX): Remove trailing semicolon. (PTHREADS_STACK_MIN): Specify; needs confirming. (_pthreads_attr_t): Define this type. (_pthreads_condattr_t): Likewise.
Diffstat (limited to 'implement.h')
-rw-r--r--implement.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/implement.h b/implement.h
index 3504537..1df2e11 100644
--- a/implement.h
+++ b/implement.h
@@ -5,13 +5,21 @@
* by other parts of this pthreads implementation internally.
*/
-/* FIXME: Arbitrary. Need value from Win32.
+/* FIXME: Arbitrary. Need values from Win32.
*/
-#define PTHREAD_THREADS_MAX 256;
+#define PTHREAD_THREADS_MAX 256
+#define PTHREAD_STACK_MIN 65535
extern DWORD pthreads_thread_count;
typedef struct {
- int proc_shared;
+ size_t stacksize;
+} _pthread_attr_t;
+
+typedef struct {
+ int pshared;
} _pthread_mutexattr_t;
+typedef struct {
+ int pshared;
+} _pthread_condattr_t;