Solved

Mutex

Posted on 1997-03-13
1
436 Views
Last Modified: 2013-12-16
What is a mutex.
0
Comment
Question by:craign
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AIX Server 10 88
UNiX Script filesystem space usage Part2 54 88
retrieve nuemaric value from txt file in shell script 3 73
Field name with special character (Ñ) in Oracle 11 94
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
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.

830 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