diff options
author | bje <bje> | 1998-07-22 09:22:58 +0000 |
---|---|---|
committer | bje <bje> | 1998-07-22 09:22:58 +0000 |
commit | ac165ba9bfdfd92f62c65ab0449852eff7bd4d91 (patch) | |
tree | 564012b6629bedabd461e59e1c2dd7463de00358 /pthread.h | |
parent | c9b8e5d0d1c38c48570be14216112201158503da (diff) |
i1998-07-22 Ben Elliston <bje@cygnus.com>
* attr.c (pthread_setstacksize): Update test of attr argument.
(pthread_getstacksize): Likewise.
(pthread_setstackaddr): Likewise.
(pthread_getstackaddr): Likewise.
(pthread_attr_init): No need to allocate any storage.
(pthread_attr_destroy): No need to free any storage.
* mutex.c (is_attr): Not likely to be needed; remove.
(remove_attr): Likewise.
(insert_attr): Likewise.
* pthread.h (pthread_attr_t): Moved here from implement.h.
* implement.h (_pthread_mutexattr_t): Moved to a public definition
in pthread.h. There was little gain in hiding these details.
(_pthread_condattr_t): Likewise.
Diffstat (limited to 'pthread.h')
-rw-r--r-- | pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ typedef CRITICAL_SECTION pthread_mutex_t; typedef DWORD pthread_key_t; typedef struct { + size_t stacksize; +} pthread_attr_t; + +typedef struct { enum { SIGNAL, BROADCAST, NUM_EVENTS }; /* Signal and broadcast event HANDLEs. */ |