Can someone Explain Mutex and how it is used?

前端 未结 4 1187
天涯浪人
天涯浪人 2021-01-12 10:01

I read a few documents about Mutex and still the only Idea I have got is that it helps preventing threads from accessing a resource that is already being used by another res

4条回答
  •  情话喂你
    2021-01-12 10:50

    You can refer this SO post for comparison of various thread synchronization mechanisms Difference between Locks, Mutex and Critical Sections

    If you want specific information Mutex then wikipedia will give you enough details.

提交回复
热议问题