Hi, I want to use a TMutex in a timer to check (TryLock) whether I can safely execute a piece of code or not. But I alway get this annoying error message 'Mutex already locked by this thread' I know I could get rid of this message using gDebug but this would influence the whole system and all other thread which I don't like. How do I get rid of this message? (A recursive thread doesn't do the job, too) In my opinion TryLock should tell me whether I can lock a mutex or not. I'm not interested in which thread I'm running... Thomas.
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET