I haven't tried your code, but one thing I would check, is that the problem is 
not caused by the threadvars. I'm "pretty sure" that I observed in Windows that 
asyncdispatch would use multiple different threads to run the code. So you 
might set the threadvar in one thread, but the code that reads it runs in a 
different thread... Not sure if that applies to non-Windows OS. There is some 
getThreadId() or similar proc you can use to identify your threads.

Reply via email to