2015-09-30 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/hvm.c
! added missing support for non MT builds in last commit
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2015-09-30 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/vm/hvm.c
|
||||
! added missing support for non MT builds in last commit
|
||||
|
||||
2015-09-30 10:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* include/harbour.hbx
|
||||
* src/vm/hvm.c
|
||||
|
||||
@@ -12379,6 +12379,8 @@ HB_FUNC( __VMMODULESVERIFY )
|
||||
HB_FUNC( __VMCOUNTTHREADS )
|
||||
{
|
||||
int iStacks, iThreads;
|
||||
|
||||
#if defined( HB_MT_VM )
|
||||
HB_STACK_TLS_PRELOAD
|
||||
|
||||
HB_VM_LOCK();
|
||||
@@ -12387,6 +12389,9 @@ HB_FUNC( __VMCOUNTTHREADS )
|
||||
iThreads = s_iRunningCount;
|
||||
|
||||
HB_VM_UNLOCK();
|
||||
#else
|
||||
iStacks = iThreads = 0;
|
||||
#endif
|
||||
|
||||
hb_storni( iStacks, 1 );
|
||||
hb_storni( iThreads, 2 );
|
||||
|
||||
Reference in New Issue
Block a user