diff options
Diffstat (limited to 'thirdparties/win32/include/pthread/semaphore.h')
-rwxr-xr-x | thirdparties/win32/include/pthread/semaphore.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/thirdparties/win32/include/pthread/semaphore.h b/thirdparties/win32/include/pthread/semaphore.h index f00cf9c..98be3fa 100755 --- a/thirdparties/win32/include/pthread/semaphore.h +++ b/thirdparties/win32/include/pthread/semaphore.h @@ -12,25 +12,25 @@ * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * Copyright(C) 1999,2005 Pthreads-win32 contributors - * + * * Contact Email: rpj@callisto.canberra.edu.au - * + * * The current list of contributors is contained * in the file CONTRIBUTORS included with the source * code distribution. The list can also be seen at the * following World Wide Web location: * http://sources.redhat.com/pthreads-win32/contributors.html - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library in the file COPYING.LIB; * if not, write to the Free Software Foundation, Inc., @@ -127,8 +127,8 @@ typedef unsigned int mode_t; typedef struct sem_t_ * sem_t; PTW32_DLLPORT int __cdecl sem_init (sem_t * sem, - int pshared, - unsigned int value); + int pshared, + unsigned int value); PTW32_DLLPORT int __cdecl sem_destroy (sem_t * sem); @@ -137,24 +137,24 @@ PTW32_DLLPORT int __cdecl sem_trywait (sem_t * sem); PTW32_DLLPORT int __cdecl sem_wait (sem_t * sem); PTW32_DLLPORT int __cdecl sem_timedwait (sem_t * sem, - const struct timespec * abstime); + const struct timespec * abstime); PTW32_DLLPORT int __cdecl sem_post (sem_t * sem); PTW32_DLLPORT int __cdecl sem_post_multiple (sem_t * sem, - int count); + int count); PTW32_DLLPORT int __cdecl sem_open (const char * name, - int oflag, - mode_t mode, - unsigned int value); + int oflag, + mode_t mode, + unsigned int value); PTW32_DLLPORT int __cdecl sem_close (sem_t * sem); PTW32_DLLPORT int __cdecl sem_unlink (const char * name); PTW32_DLLPORT int __cdecl sem_getvalue (sem_t * sem, - int * sval); + int * sval); #ifdef __cplusplus } /* End of extern "C" */ |