module Sinatra
module Sinatra::Delegator
module Sinatra::Helpers
module Sinatra::Templates
module Sinatra::Templates::ContentTyped
class Sinatra::Application
class Sinatra::Base
class Sinatra::Helpers::Stream
class Sinatra::NotFound
class Sinatra::Request
class Sinatra::Response
class Sinatra::ShowExceptions
sinatra
1.3.0
# synchronize
def synchronize(&block) if lock? @@mutex.synchronize(&block) else yield end end