diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 17fd626b39..a81f971d29 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,12 @@ The license applies to all entries newer than 2009-04-28. */ +2011-06-03 01:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * src/vm/thread.c + * upped sleep timeout in *nix version of hb_threadReleaseCPU() to 20 ms + it halves CPU consumption. pls revert/comment if you notice + causing this any harm. + 2011-06-02 15:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/changelog.ui ! Changed: QDialog() => QWidget(). @@ -24,7 +30,7 @@ + Added: more constants to control docking widgets appearance. * contrib/hbide/idechangelog.prg - + Advanced: few more additions. Last worked ChangeLog file is + + Advanced: few more additions. Last worked ChangeLog file is saved for next run and is shown opened when activated. TODO: compose a new syntax-highlighter. @@ -43,9 +49,9 @@ + Implemented: user-controlled dock-widgets tab-position and shape. ! Activated: last state of dock-widgets if visible or not for next run. This facilitates that now user can arrange dock widgets - once-for-all and bring all in focus or push back if not + once-for-all and bring all in focus or push back if not required. - + 2011-06-02 21:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * set sleep timeout in *nix version of hb_threadReleaseCPU() to 10 ms diff --git a/harbour/src/vm/thread.c b/harbour/src/vm/thread.c index 13f035d04e..5eb22959f3 100644 --- a/harbour/src/vm/thread.c +++ b/harbour/src/vm/thread.c @@ -299,7 +299,7 @@ void hb_threadReleaseCPU( void ) { struct timeval tv; tv.tv_sec = 0; - tv.tv_usec = 10000; + tv.tv_usec = 20000; select( 0, NULL, NULL, NULL, &tv ); }