2008-10-02 15:54 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
* harbour/source/vm/thread.c
* hb_ThreadID() returns 0 when built in ST mode.
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
*/
|
||||
|
||||
|
||||
2008-10-02 15:54 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
|
||||
* harbour/source/vm/thread.c
|
||||
* hb_ThreadID() returns 0 when built in ST mode.
|
||||
|
||||
2008-10-02 15:50 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
|
||||
* harbour/source/vm/thread.c
|
||||
+ added hb_ThreadID() function which returns thread ID of current thread.
|
||||
|
||||
@@ -677,7 +677,9 @@ HB_FUNC( HB_THREADID )
|
||||
PHB_THREADSTATE pThread = ( PHB_THREADSTATE ) hb_vmThreadState();
|
||||
if( pThread )
|
||||
hb_retnl( pThread->th_id );
|
||||
else
|
||||
#endif
|
||||
hb_retnl( 0 );
|
||||
}
|
||||
|
||||
HB_FUNC( HB_THREADJOIN )
|
||||
|
||||
Reference in New Issue
Block a user