Displaying 1 result from an estimated 1 matches for "dwargs".
Did you mean:
kwargs
2008 May 18
2
Pure win32-thread library?
...ReleaseMutex(@@mutex)
}
attr_reader :thread_id
def initialize(*args, &block)
raise ArgumentError, ''block must be provided'' unless block_given?
args.push(block)
thread_id = [0].pack(''L'')
dwArgs = nil # What should this be?
@thread = CreateThread(
nil, # Handle cannot be inherited
0, # Default stack size
WinThreadFunc, # Pointer to thread func
dwArgs, # Arguments passed to thread func...