Perry Taylor wrote:
I have several BASIC processes that are quite CPU intensive which I
would like to "slow" themselves down a bit so the don't take so much
processor time.  Is anyone aware of way for a UniVerse BASIC program to
change it's own processing priority?  Something akin to
getpriority()/setpriority() is C?

If you don't find a way to change their timeslice or priority, perhaps "sleeping" might be the answer.

Either an execute of "SLEEP", or more appropriately a call to !SLEEP$ subroutine. I say "more appropriately" because you can include logic to vary the sleep interval.

HTH.

--
Allen Egerton   aegerton at pobox dot com
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to