Definitions

from Wiktionary, Creative Commons Attribution/Share-Alike License

  • n. An object in a program that serves as a lock, used to negotiate mutual exclusion among threads.

Etymologies

mutually exclusive (Wiktionary)

Examples

  • On Solaris and Linux a Parker contains a pthread condvar (named _condvar), mutex (named _mutex), and a volatile integer, _counter, that represents the state of the semaphore.

    Sun Bloggers

  • One solution to this is to use a mutex, which is similar to a

    C# Help - C# Tutorials Resources

  • We call a mutex (mutual exclusion) a semaphore with a value of one.

    Javalobby - The heart of the Java developer community

  • This is accomplished with APR's file-locking code, not on the resource itself but on a stub file of the same name with ". mutex" appended.

    Planet XML

  • For example, an object that contains a handle to a Windows kernel object such as a file, process, thread, mutex, event, semaphore, and so on would have no meaning when deserialized into another process or machine since Windows kernel handles are process-relative values.

    Site Home

  • Hi, I had created a mutex for a console application in c# mutex = new Mutex (true, "Global\\" + sExeName, out bCreatedNew); if (bCreatedNew) mutex.

    eggheadcafe.com articles

  • Now the flush list has its own mutex, reducing contention with buffer pool operations and making InnoDB faster without any configuration needed on your part.

    Planet MySQL

  • Previously, a single mutex protected different memory areas related to the undo and logging information.

    Planet MySQL

  • Along the same lines, operations involving the buffer pool and the flush list previously were protected by a single mutex, which could cause unnecessary delays.

    Planet MySQL

  • (The buffer pool mutex has historically been very hot, so any other operation that tied up the buffer pool was adding fuel to the fire.)

    Planet MySQL

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.