Thanks Randy, I wondered about that but did not know of a way to implement ThreadSleep(). I have tried to use your suggestion but without documentation I can't find the lib for ReleaseCPU() :- undefined reference to `HB_FUN_RELEASECPU' Where can I find a full listing of Harbour functions etc. the site only seems to list the basics?
Barry Randy Portnoff-2 wrote: > I do not think that this will sleep the thread > Hi Barry, > > I can't help you with your problem but I do have two comments > regarding your ThreadSleep() function: > > 1. I do not think that this will sleep the thread (unless Harbour > does something which I doubt it does) - You need to make a call in > this loop to explicitly sleep the thread. For example: > > DO WHILE seconds()<now+secs > ReleaseCPU() > ENDDO > > 2. Your function will hang if it is called near midnight. > > Randy. > > > > > -- View this message in context: http://www.nabble.com/Using--contrib-hbtpathy-fuctions-in-Linux-tp21339751p21340671.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour