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:
Przemysław Czerpak
2015-09-30 11:18:54 +02:00
parent 6458e3a963
commit a46d22c9d7
2 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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 );