summaryrefslogtreecommitdiff
path: root/implement.h
blob: 254d86fd6106c47a292e75f12be2172bb58945b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * implement.h
 *
 * Implementation specific (non API) stuff.
 */

#ifndef _IMPLEMENT_H
#define _IMPLEMENT_H

/* FIXME: Arbitrary. Need values from Win32.
 */
#define PTHREAD_THREADS_MAX 256
#define PTHREAD_STACK_MIN   65535

extern DWORD pthreads_thread_count;

typedef struct {
  size_t stacksize;
} _pthread_attr_t;

typedef struct {
  /* Nothing needed yet. */
} _pthread_mutexattr_t;

typedef struct {
  /* Nothing needed yet. */
} _pthread_condattr_t;

#endif /* _IMPLEMENT_H */