summaryrefslogtreecommitdiff
path: root/pthread_rwlock_wrlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_rwlock_wrlock.c')
-rw-r--r--pthread_rwlock_wrlock.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/pthread_rwlock_wrlock.c b/pthread_rwlock_wrlock.c
index 6e85bf1..60061f3 100644
--- a/pthread_rwlock_wrlock.c
+++ b/pthread_rwlock_wrlock.c
@@ -40,18 +40,6 @@
#include "pthread.h"
#include "implement.h"
-static void
-ptw32_rwlock_cancelwrwait(void * arg)
-{
- pthread_rwlock_t rwl = (pthread_rwlock_t) arg;
-
- rwl->nSharedAccessCount = -rwl->nCompletedSharedAccessCount;
- rwl->nCompletedSharedAccessCount = 0;
-
- (void) pthread_mutex_unlock(&(rwl->mtxSharedAccessCompleted));
- (void) pthread_mutex_unlock(&(rwl->mtxExclusiveAccess));
-}
-
int
pthread_rwlock_wrlock(pthread_rwlock_t * rwlock)
{