Elegant way to pause or sleep processing for a while without using CPU time. In PeopleCode:
Local JavaObject &thread = GetJavaClass("java.lang.Thread");
&thread.sleep(2500); // this is in milliseconds
Pause/Sleep/Wait
Posted by
Michael Nitschke
on Wednesday, 17 September 2008
Labels:
pause sleep wait time PeopleCode
0 comments:
Post a Comment