class FiberSafeMutex

Overview

Extracted from the following Crystal PR, by @technorama: https://github.com/manastech/crystal/pull/1399

Defined in:

fiber-safe-mutex.cr

Constant Summary

VERSION = "0.1.0"

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def lock #

[View source]
def synchronize(&) #

[View source]
def unlock #

[View source]