2008-10-22 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/thread.c
! fixed memory allocation in HB_THREADWAIT() when more then 16
threads were specified
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2008-10-22 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/vm/thread.c
|
||||
! fixed memory allocation in HB_THREADWAIT() when more then 16
|
||||
threads were specified
|
||||
|
||||
2008-10-22 17:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/bin/hbmk.bat
|
||||
* simple modification to make beginning hbmk parameters (-mt and -gui)
|
||||
|
||||
@@ -917,8 +917,11 @@ HB_FUNC( HB_THREADWAIT )
|
||||
break;
|
||||
}
|
||||
if( pThreads == pAlloc && iThreads >= HB_THREAD_WAIT_ALLOC )
|
||||
{
|
||||
pThreads = ( PHB_THREADSTATE * )
|
||||
hb_xgrab( sizeof( PHB_THREADSTATE ) * iThreads );
|
||||
hb_xgrab( sizeof( PHB_THREADSTATE ) * iLen );
|
||||
memcpy( pThreads, pAlloc, sizeof( pAlloc ) );
|
||||
}
|
||||
pThreads[ iThreads++ ] = pThread;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user