Solved

Mutex

Posted on 1997-03-13
1
454 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

635 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