tagged [mutex]

understanding of pthread_cond_wait() and pthread_cond_signal()

understanding of pthread_cond_wait() and pthread_cond_signal() Generally speaking, `pthread_cond_wait()` and `pthread_cond_signal()` are called as below: The steps are

2 Mar at 07:7

What is the Mutex and semaphore In c#? where we need to implement?

What is the Mutex and semaphore In c#? where we need to implement? What is the Mutex and semaphore in C#? Where we need to implement? How can we work with them in multithreading?

13 Nov at 19:57

How to get the IdentityReference for "Everyone" to create MutexAccessRule on localized systems?

How to get the IdentityReference for "Everyone" to create MutexAccessRule on localized systems? I'd like to use the code as in [this question](https://stackoverflow.com/questions/4223061/how-to-implem...

23 May at 11:52

How to find that Mutex in C# is acquired?

How to find that Mutex in C# is acquired? How can I find from mutex handle in C# that a mutex is acquired? When `mutex.WaitOne(timeout)` timeouts, it returns `false`. However, how can I find that from...

What is the correct way to create a single-instance WPF application?

What is the correct way to create a single-instance WPF application? Using C# and WPF under .NET (rather than [Windows Forms](http://en.wikipedia.org/wiki/Windows_Forms) or console), what is the corre...

18 Oct at 21:36

cross-user C# mutex

cross-user C# mutex My app is forced to use a 3rd party module which will blue-screen Windows if two instances are started at the same time on the same machine. To work around the issue, my C# app has...

4 Jun at 10:55

Difference between binary semaphore and mutex

Difference between binary semaphore and mutex Is there any difference between a binary semaphore and mutex or are they essentially the same?

What is the difference between lock, mutex and semaphore?

What is the difference between lock, mutex and semaphore? I've heard these words related to concurrent programming, but what's the difference between lock, mutex and semaphore?

14 Jun at 08:25

Mutex example / tutorial?

Mutex example / tutorial? I was trying to understand how mutexes work. Did a lot of Googling but it still left some doubts of how it works because I created my own program in which locking didn't work...