Przemek <<< Probably I do not understand what you need. If you want to add unique for all thread number which is you low level table ID into each open WA then simply add it to your RDD local workarea structure and extract it: nTableNO := USRRDD_AREADATA( nWA )[ MYWA_TABLE ] and use it instead of nWA directly. >>>
I did not realize it before, thanks for guiding. The relevant question: What happens when a thread is finished - its thread id is reused ? Or any new thread have unique ID? I did not experiment to check. <<< If you want to change the WA numbers allocating in Harbour RDD code so they will be unique between threads then it's rather bad idea. It will force blocking a lot of RDD code because we will need serialization for everything what can allocate/release new WA. Many modifications, bad performance/scalability overhead and new problems to resolve, f.e. RT errors which can stop the thread with locked RDD internals. >>> I understand. I will change my methodology. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/MT---WorkAreas---A-Feature-Request-tp20268713p20290030.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