summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;