0.0
No commit activity in last 3 years
No release in over 3 years
Ruby gem implementing a Mutex which allows for preemptive queuing based on priority.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3

Runtime

~> 2
~> 10
 Project Readme

priority_mutex Build Status

This gem implements a mutex which allows access to a shared resource as determined by a priority set by each requesting thread. Higher priority values mean higher priority.

Using a PriorityMutex, you can now allow a high priority thread to "jump in line" for a mutex ahead of other lower priority threads. Note, this does not preempt the resource from a thread which is currently using the resource.

License & Notes

The MIT License - Copyright (c) 2015 Mike Jarema