9344acf1ad
changes: -minor feature additions to the command line tools -C++ API: Added support for Szip -bugfixes pkgsrc changes: -fixes for the cxx option (should be a separate pkg) -fixes for the threadsafe option -- replaced a pthread_equal() by a simple "==" to make it usable with non-threaded apps (not 100% portable, but should be fine for the platforms in question) The shared libraries should not be linked against libpthread, but that would require serious changes to the autoconf/make machinery so I've left it alone for now. If that is fixed, "threadsafe" could be made default. -Don't try to strip scripts on install.
14 lines
416 B
Text
14 lines
416 B
Text
$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
|