process_shared/lib/mach.rb

13 lines
327 B
Ruby
Raw Normal View History

require 'mach/port'
require 'mach/semaphore'
require 'mach/task'
2012-01-30 04:57:13 +00:00
require 'mach/functions'
module Mach
2012-01-30 04:57:13 +00:00
# @return [Port] the original bootstrap port; different from that
# affected by {get,set}_special_port
def self.bootstrap_port
@bootstrap_port ||= Mach::Port.new(:port => Mach::Functions::bootstrap_port)
end
end