locked
Mutex RRS feed

  • Question

  • Hi,

    What is acronym of mutex?

    What means Mutex word?
    • Edited by Arash_89 Thursday, May 8, 2014 5:47 PM
    Thursday, May 8, 2014 5:47 PM

Answers

  • Hi,

    Mutex, in C#, is a class defined in the .NET framework class library that can be used to prevent the simultaneous execution of a block of code by multiple threads that are running in a single or multiple processes.

    Mutex is used as a synchronization primitive in situations where a resource has to be shared by multiple threads simultaneously. Named mutex objects are used for inter-process synchronization because multiple applications can access the same mutex object.

    The mutex class is designed to protect a shared resource like memory, file handle or network connection from simultaneous access by multiple threads or processes. It is used in lock statement to provide serialized access to resources and ensures mutual exclusion inside the critical sections of code. It helps prevent the unpredictable data corruption that can arise if there is no synchronization. It is often used to check for a single instance of an application at a time.

    You can see the link below to get more information:http://msdn.microsoft.com/en-us/library/system.threading.mutex.aspx

    http://www.c-sharpcorner.com/UploadFile/1d42da/threading-with-mutex/

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    • Edited by Anne Jing Friday, May 9, 2014 6:29 AM edit
    • Marked as answer by Arash_89 Friday, May 9, 2014 6:38 AM
    Friday, May 9, 2014 6:29 AM
  • This might be what you are looking for:

    http://en.wiktionary.org/wiki/mutex

    • Marked as answer by Arash_89 Friday, May 9, 2014 6:38 AM
    Thursday, May 8, 2014 6:00 PM
  • It is short for "mutual exclusion". A common technique to avoid race conditions.

    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

    • Marked as answer by Arash_89 Friday, May 9, 2014 3:49 PM
    Friday, May 9, 2014 3:02 PM

All replies

  • This might be what you are looking for:

    http://en.wiktionary.org/wiki/mutex

    • Marked as answer by Arash_89 Friday, May 9, 2014 6:38 AM
    Thursday, May 8, 2014 6:00 PM
  • Hi,

    Mutex, in C#, is a class defined in the .NET framework class library that can be used to prevent the simultaneous execution of a block of code by multiple threads that are running in a single or multiple processes.

    Mutex is used as a synchronization primitive in situations where a resource has to be shared by multiple threads simultaneously. Named mutex objects are used for inter-process synchronization because multiple applications can access the same mutex object.

    The mutex class is designed to protect a shared resource like memory, file handle or network connection from simultaneous access by multiple threads or processes. It is used in lock statement to provide serialized access to resources and ensures mutual exclusion inside the critical sections of code. It helps prevent the unpredictable data corruption that can arise if there is no synchronization. It is often used to check for a single instance of an application at a time.

    You can see the link below to get more information:http://msdn.microsoft.com/en-us/library/system.threading.mutex.aspx

    http://www.c-sharpcorner.com/UploadFile/1d42da/threading-with-mutex/

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    • Edited by Anne Jing Friday, May 9, 2014 6:29 AM edit
    • Marked as answer by Arash_89 Friday, May 9, 2014 6:38 AM
    Friday, May 9, 2014 6:29 AM
  • Thank you but,

    What's the lexical meaning of mutex in english language? 
    What was the history behind the word "mutex" and what it has been shortened from?

    Friday, May 9, 2014 1:04 PM
  • It is short for "mutual exclusion". A common technique to avoid race conditions.

    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

    • Marked as answer by Arash_89 Friday, May 9, 2014 3:49 PM
    Friday, May 9, 2014 3:02 PM