more white space
This commit is contained in:
parent
3654a9dd2f
commit
970ca29242
|
@ -408,7 +408,6 @@ pthread::cancel (void)
|
||||||
SetEvent (cancel_event);
|
SetEvent (cancel_event);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (equal (thread, self))
|
else if (equal (thread, self))
|
||||||
{
|
{
|
||||||
mutex.unlock ();
|
mutex.unlock ();
|
||||||
|
@ -767,14 +766,14 @@ void
|
||||||
pthread::suspend_except_self ()
|
pthread::suspend_except_self ()
|
||||||
{
|
{
|
||||||
if (valid && this != pthread::self ())
|
if (valid && this != pthread::self ())
|
||||||
SuspendThread (win32_obj_id);
|
SuspendThread (win32_obj_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
pthread::resume ()
|
pthread::resume ()
|
||||||
{
|
{
|
||||||
if (valid)
|
if (valid)
|
||||||
ResumeThread (win32_obj_id);
|
ResumeThread (win32_obj_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* static members */
|
/* static members */
|
||||||
|
@ -3310,7 +3309,7 @@ semaphore::post (sem_t *sem)
|
||||||
int
|
int
|
||||||
semaphore::getvalue (sem_t *sem, int *sval)
|
semaphore::getvalue (sem_t *sem, int *sval)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!is_good_object (sem)
|
if (!is_good_object (sem)
|
||||||
|| __check_null_invalid_struct (sval, sizeof (int)))
|
|| __check_null_invalid_struct (sval, sizeof (int)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue