Class TaskMutex

Mutex implementation for fibers.

This mutex type can be used in exchange for a core.sync.mutex.Mutex, but does not block the event loop when contention happens. Note that this mutex does not allow recursive locking.

Inherits from

  • Mutex (base class)

Constructors

Name Description
this
this

Methods

Name Description
lock
tryLock
unlock

See Also

RecursiveTaskMutex, core.sync.mutex.Mutex

Authors

Leonid Kramer

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.