From 3dc7a9f679ecbee305649696bee51857d78a8b43 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Mon, 6 Oct 2008 09:17:27 +0000 Subject: [PATCH] 2008-10-06 11:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed typo in recent modification --- harbour/ChangeLog | 4 ++++ harbour/source/vm/thread.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3ee2984c1e..c85c7e5b8f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-10-06 11:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/vm/thread.c + ! fixed typo in recent modification + 2008-10-06 03:09 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch + Added HB_THREADONCE. diff --git a/harbour/source/vm/thread.c b/harbour/source/vm/thread.c index c30dc14fe6..ee97ef3dea 100644 --- a/harbour/source/vm/thread.c +++ b/harbour/source/vm/thread.c @@ -117,12 +117,14 @@ static PHB_ITEM s_pOnceMutex = NULL; HB_CRITICAL_UNLOCK( s_critical_init ); } # else +# if defined( HB_COND_INIT ) + static HB_CRITICAL_NEW( s_critical_init ); +# endif static HB_CRITICAL_NEW( s_critical_once ); static HB_CRITICAL_NEW( s_critical_mtx ); # endif # if defined( HB_COND_INIT ) - static HB_CRITICAL_NEW( s_critical_init ); static void hb_threadCondInit( HB_COND_T * cond ) { if( !s_fThreadInit )