what :
Home > Objects > S > sadam.mutex > author : Adam Siska

sadam.mutex

Mutual exclusion (semaphore) object.


sadam.mutex will help you managing the access of shared resources in your patch using semaphores. A semaphore can be locked and released, and while locked, it will prevent messages from passing through. Each semaphore must have an unique name, and instances of sadam.mutex with the same name will access the same semaphore. Each mutex has two modes, they can be either locker or releaser instances to the same semaphore. A locker object will test for each incoming message whether the semaphore is locked and if not, it will lock the semaphore and pass the message to the appropriate outlet. Releaser objects will release the semaphore each time a message arrives to their inlet.
from the library :
The sadam Library
Format : External
Environment : max / Max Runtime / msp
freeware
Max 5.x / 6.x



http://www.sadam.hu

4852 objects and 135 libraries within the database Last entries : November 5th, 2021 Last comments : 0 0 visitor and 10999765 members connected RSS
Site under GNU Free Documentation License