Page 1 of 1

thread stuff...

Posted: Tue Aug 19, 2003 6:07 pm
by aszid
ok, well i know that strings in threads are on the way... but i would like to request a few features that would be extremely helpfull until they were here. here's my ideas:

Request(string.s,mode) - request access to a global string, mode could be one of the following: wait mode - pauses the thread until access to the variable is granted, then resumes. immediate - will return a value telling if the variable is available, if it is available it will be "locked" for the thread's use.

release(string.s) - release access to a global variable that has been requested by the current thread.

i think these would make using threads incredibly easier and safer