summaryrefslogtreecommitdiff
path: root/cad/electric/patches/patch-ad
blob: 638ab6872d96c02cc36c6e367a84e3411830444a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ad,v 1.1 2009/08/01 16:22:26 dholland Exp $

Hack around silly behavior that unlocks every newly created pthread mutex.

--- src/include/global.h.orig	2009-08-01 12:18:08.000000000 -0400
+++ src/include/global.h	2009-08-01 12:18:21.000000000 -0400
@@ -2404,6 +2404,7 @@ void         enewthread(void* (*function
 void        *emakemutex(void);
 void         emutexlock(void *vmutex);
 void         emutexunlock(void *vmutex);
+void         emutexensureunlocked(void *vmutex);
 CHAR       **eprinterlist(void);
 void         flushscreen(void);
 void         exitprogram(void);