|
From: William G. <app...@li...> - 2016-02-06 04:19:40
|
Hi all, I am writing a tool for multi-threaded debugging. I have inserted a helper with instruemntation (addStmtToIRSB( sbOut, IRStmt_Dirty(di) );). The helper stores data in a table. The table needs to be thread safe because different threads will be using it at run time. I cannot use a pthread_mutex in my tool, correct? How can I make a lock for the table? Thanks guys! |