Solved

Mutex

Posted on 1997-03-13
1
444 Views
Last Modified: 2013-12-16
What is a mutex.
0
Comment
Question by:craign
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
pxh earned 100 total points
ID: 1811937
Hmm, there is MuTeX which is a package with musical symbols for TeX (i.e. MuTeX).

But you may also mean a "MUTual EXclusion lock".

     ... prevent multiple  threads
     from  simultaneously  executing  critical  sections  of code
     which access shared data (that is, mutexes are used to seri-
     alize  the  execution of threads).  All mutexes must be glo-
     bal.    A   successful   call   for   a   mutex   lock   via
     pthread_mutex_lock()  or  mutex_lock()  will  cause  another
     thread that is also trying to lock the same mutex  to  block
     until the owner thread unlocks it via pthread_mutex_unlock()
     or mutex_unlock().   Threads  within  the  same  process  or
     within other processes can share mutexes.


This is a copy/paste from a man page in Solaris 5.5. There is much more including example codes. If you can't access those docs let me now, I can email it to you.

Peter (pxh@mpe-garching.mpg.de)

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question