mafintosh / mutexify

Bike shed mutex lock implementation
MIT License
88 stars 10 forks source link

Add note about lock request order #5

Closed hackergrrl closed 8 years ago

hackergrrl commented 8 years ago

I was using this module the other day and didn't realize that a queue is maintained internally to preserve request order on the lock. I didn't assume this was a given, so I thought it'd be nice to let others know about, too.

mafintosh commented 8 years ago

Nice!