Hi

<<<
Ho can I generate a unique number given ThreadID() and nWA ?
Multplying both will clash for given two threads as nWA is reused
once table is closed.
>>>

As maximum limit of workareas per thread is 65534, I can safely 
define macro as 
#define MYWORKAREA( nWA )   ( ThreadID() * nWA )
Am I right ?

Regards
Pritpal Bedi
-- 
View this message in context: 
http://www.nabble.com/MT---WorkAreas---A-Feature-Request-tp20268713p20290173.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

Reply via email to