diff options
| author | bje <bje> | 1998-10-03 04:40:32 +0000 | 
|---|---|---|
| committer | bje <bje> | 1998-10-03 04:40:32 +0000 | 
| commit | 8e68ed4ef6f5d0d6330d2671d253ff875729d1c8 (patch) | |
| tree | 3b3de8c3c7e2c5fcf556ba76f4a0945709911b61 | |
| parent | 7beea63d725e4db27d693f8a27d9a2779f37516b (diff) | |
1998-10-03  Ben Elliston  <bje@cygnus.com>
	* create.c (_pthread_start_call): Add STDCALL prefix.
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | create.c | 4 | 
2 files changed, 4 insertions, 2 deletions
| @@ -8,6 +8,8 @@  	* acconfig.h (STDCALL): New define.  	* config.h.in: Regenerate. + +	* create.c (_pthread_start_call): Add STDCALL prefix.  	* mutex.c (pthread_mutex_init): Correct function signature. @@ -16,7 +16,7 @@  #include "implement.h"  unsigned -_pthread_start_call(void * us_arg) +STDCALL _pthread_start_call(void * us_arg)  {    /* We're now in a running thread. Any local variables here are on       this thread's private stack so we're safe to leave data in them @@ -86,7 +86,7 @@ pthread_create(pthread_t *thread,  	  attr_copy->detachedstate = attr->detachedstate;  	  attr_copy->priority = attr->priority; -#ifdef HAVE_SIGSET_T +#if HAVE_SIGSET_T  	  memcpy(&(attr_copy->sigmask), &(attr->sigmask), sizeof(sigset_t));   #endif /* HAVE_SIGSET_T */  	} | 
