diff --git a/harbour/ChangeLog b/harbour/ChangeLog index b2cc81b726..a02ec2b660 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2002-12-01 23:12 UTC+0100 Foo Bar */ +2003-05-09 17:20 UTC-0400 David G. Holm + * source/rtl/idle.c + + Added a PRG-callable function wrapper for hb_releaseCPU() and + named it HB_RELEASECPU. + 2003-05-09 14:40 UTC-0400 David G. Holm * source/rdd/dbcmd.c ! Fixed the FIELDPOS function to truncate long field names, diff --git a/harbour/source/rtl/idle.c b/harbour/source/rtl/idle.c index d77633b1ab..4e622efc57 100644 --- a/harbour/source/rtl/idle.c +++ b/harbour/source/rtl/idle.c @@ -292,3 +292,9 @@ HB_FUNC( HB_IDLEDEL ) if( !bFound ) hb_ret(); /* return NIL */ } + +/* Release a CPU time slice */ +HB_FUNC( HB_RELEASECPU ) +{ + hb_releaseCPU(); +}