Want to hire a development team?
No Images Added Yet

Mutex Class

Not Rated Yet.
Add to Favorites
Publisher
This mutex (mutual exclusion) class can help to avoid the simultaneous use of a common resource
Product Details

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.

Report this Listing
Price
Free
Licence Type
Free
Views
899
Submitted on
31st August 2008
Last Updated
19th May 2015
Licence Type
Other
License Price
USD 0
Additional Info
contact me if you want to use it for commercial purposes

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(0 ratings)
Not Rated Yet.
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.