Skip to content
Snippets Groups Projects
Commit 5c9536c7 authored by deuce's avatar deuce
Browse files

Remove unneeded macros, labels, and call to pthread_textcancel()

parent 71e8a19e
No related branches found
No related tags found
No related merge requests found
......@@ -38,12 +38,6 @@
#include <stdio.h> /* NULL */
#include "xpevent.h"
#define _EVENT_CHECK_VALIDITY(event) \
if (event==NULL || (event->magic != EVENT_MAGIC)) { \
errno = EINVAL; \
return(FALSE); \
}
xpevent_t
CreateEvent(void *sec, BOOL bManualReset, BOOL bInitialState, void *name)
{
......@@ -198,8 +192,5 @@ WaitEvent(xpevent_t event, DWORD ms)
pthread_mutex_unlock(&event->lock);
RETURN:
pthread_testcancel();
return retval;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment