Subj : How to test mutex? To : comp.programming.threads From : Arrive Date : Tue Feb 15 2005 10:58 pm Hi, all, My program runs normally even without the use of mutex. Now I have added the mutexes, how can I test them? Or ask in another way, how to generate/find bugs in concurrency programs? The program is an simple HTTP server with multithread support for our course project. So far I have only protected all the global variables and the file IOs by mutex. Are there any places else I need to pay attention to? Or any good resource on thread safe? I have tried google but didn't get a good answer. Many thanks. -- Life is the chance to do something. .