Displaying 1 result from an estimated 1 matches for "winthreadfunc".
2008 May 18
2
Pure win32-thread library?
...ITY_BELOW_NORMAL
HIGHEST = THREAD_PRIORITY_HIGHEST
IDLE = THREAD_PRIORITY_IDLE
LOWEST = THREAD_PRIORITY_LOWEST
NORMAL = THREAD_PRIORITY_NORMAL
CRITICAL = THREAD_PRIORITY_TIME_CRITICAL
VERSION = ''0.1.0''
WinThreadFunc = API::Callback.new(''L'', ''L''){ |args|
block = args.pop
block.call(args)
ReleaseMutex(@@mutex)
}
attr_reader :thread_id
def initialize(*args, &block)
raise ArgumentError, ''block must be pr...