spacing cleanup
This commit is contained in:
parent
ee8d419fd4
commit
9a47ce7f74
@ -632,7 +632,8 @@ pthread::static_cancel_self (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DWORD pthread::cancelable_wait (HANDLE object, DWORD timeout, const bool do_cancel)
|
DWORD
|
||||||
|
pthread::cancelable_wait (HANDLE object, DWORD timeout, const bool do_cancel)
|
||||||
{
|
{
|
||||||
DWORD res;
|
DWORD res;
|
||||||
HANDLE wait_objects[2];
|
HANDLE wait_objects[2];
|
||||||
@ -1174,7 +1175,7 @@ pthread_mutex::pthread_mutex (pthread_mutexattr *attr) :
|
|||||||
lock_counter (MUTEX_LOCK_COUNTER_INITIAL),
|
lock_counter (MUTEX_LOCK_COUNTER_INITIAL),
|
||||||
win32_obj_id (NULL), recursion_counter (0),
|
win32_obj_id (NULL), recursion_counter (0),
|
||||||
condwaits (0), owner (NULL), type (PTHREAD_MUTEX_DEFAULT),
|
condwaits (0), owner (NULL), type (PTHREAD_MUTEX_DEFAULT),
|
||||||
pshared(PTHREAD_PROCESS_PRIVATE)
|
pshared (PTHREAD_PROCESS_PRIVATE)
|
||||||
{
|
{
|
||||||
win32_obj_id = ::CreateSemaphore (&sec_none_nih, 0, LONG_MAX, NULL);
|
win32_obj_id = ::CreateSemaphore (&sec_none_nih, 0, LONG_MAX, NULL);
|
||||||
if (!win32_obj_id)
|
if (!win32_obj_id)
|
||||||
@ -2768,6 +2769,7 @@ void
|
|||||||
pthreadNull::pop_cleanup_handler (int const execute)
|
pthreadNull::pop_cleanup_handler (int const execute)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long
|
unsigned long
|
||||||
pthreadNull::getsequence_np ()
|
pthreadNull::getsequence_np ()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user