summaryrefslogtreecommitdiff
path: root/devel/hdf5/patches/patch-bf
blob: 64e8681867fff7fa7d40a9ad22b9c4ef5460fd70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-bf,v 1.1 2007/09/18 18:58:14 drochner Exp $

--- test/ttsafe_cancel.c.orig	2007-09-18 17:58:43.000000000 +0200
+++ test/ttsafe_cancel.c
@@ -73,6 +73,9 @@ void tts_cancel(void)
     hid_t dataset;
     int buffer;
 
+    pthread_mutex_init(&mutex, 0);
+    pthread_cond_init(&cond, 0);
+
     /* make thread scheduling global */
     pthread_attr_init(&attribute);
 #ifdef H5_HAVE_SYSTEM_SCOPE_THREADS