To make sure that this common resources are use by one thread at a time, thread library provide a MUTual EXclusive flag, Mutex. Lock Mutex .
確定! 回上一頁