Mutex Class
In situations where multiple processes or applications are sharing a common resource you will have the problem that you will want only one of them accessing / modifying that source at the time. This is also known as a concurrency problem. A mutex lock solves this problem for you. What it does: it creates a record indicating that for the unique name you passed, a lock has been given. This unique name represents a process or thread or application that can be running multiple times simultaneously. So, during the time it has the lock, no other lock with that name will be given which enforces the exclusivity. The class comes bundles with a storage-adapter class and a mysql-storage class that implements this adapter. But you can easily integrate a self-built storage class that uses another database or even flat-file system.
- Visit Site:
- Mutex Class
- Version:
- 1.0
- Filed in:
-
PHP / Scripts & Programs / Development Tools / Libraries & Classes
- Platforms:
-






- Databases:
-




- Date Added:
- Aug 31, 2008
- Last Updated:
- Aug 7, 2009
License and Pricing Information
Other
contact me if you want to use it for commercial purposes
Price: $0.00 USD
| Publisher site visits: | 282 |
|---|---|
| Average rating: | 0.00 |
| Total ratings: | 0 |
Publisher Info
- Author:
- Martijn Korse
