2011-04-07 11:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/thread.c
* cleaned comment
* harbour/src/common/hbdate.c
! fixed typo in hb_dateMilliSeconds() on platforms using ftime()
function.
This commit is contained in:
@@ -16,6 +16,14 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-04-07 11:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/vm/thread.c
|
||||
* cleaned comment
|
||||
|
||||
* harbour/src/common/hbdate.c
|
||||
! fixed typo in hb_dateMilliSeconds() on platforms using ftime()
|
||||
function.
|
||||
|
||||
2011-04-06 19:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbqt/qtcore/hbqtcore.h
|
||||
* contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp
|
||||
|
||||
@@ -184,7 +184,7 @@ HB_MAXUINT hb_dateMilliSeconds( void )
|
||||
ftime( &tb );
|
||||
return ( ( HB_MAXUINT ) tb.time +
|
||||
( HB_MAXUINT ) HB_SYS_DATE_BASE * HB_SECONDS_PER_DAY ) * 1000 +
|
||||
tb.time;
|
||||
tb.millitm;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -1527,7 +1527,7 @@ HB_FUNC( HB_THREADTERMINATEALL )
|
||||
/* hb_threadOnce( @<onceControl> [, <bAction> ] ) -> <lFirstCall>
|
||||
* Execute <bAction> only once. <onceControl> is variable which holds
|
||||
* the execution status and have to be initialized to NIL. In most of
|
||||
* cases it will be simple staticvariable in user code.
|
||||
* cases it will be simple static variable in user code.
|
||||
* When <bAction> is executed by a thread all other threads which call
|
||||
* hb_threadOnce() are stopped even if they use different <onceControl>.
|
||||
* Because hb_threadOnce() uses single recursive mutex then deadlock caused
|
||||
|
||||
Reference in New Issue
Block a user