private static void LoadThread_Class(IronRuby.Builtins.RubyModule/*!*/ module) {
DefineLibraryMethod(module, "abort_on_exception", 0x61,
0x00000000U,
new Func<System.Object, System.Object>(IronRuby.Builtins.ThreadOps.GlobalAbortOnException)
);
DefineLibraryMethod(module, "abort_on_exception=", 0x61,
0x00000000U,
new Func<System.Object, System.Boolean, System.Object>(IronRuby.Builtins.ThreadOps.GlobalAbortOnException)
);
DefineLibraryMethod(module, "critical", 0x61,
0x00000000U,
new Func<IronRuby.Runtime.RubyContext, System.Object, System.Boolean>(IronRuby.Builtins.ThreadOps.Critical)
);
DefineLibraryMethod(module, "critical=", 0x61,
0x00000000U,
new Action<IronRuby.Runtime.RubyContext, System.Object, System.Boolean>(IronRuby.Builtins.ThreadOps.Critical)
);
DefineLibraryMethod(module, "current", 0x61,
0x00000000U,
new Func<System.Object, System.Threading.Thread>(IronRuby.Builtins.ThreadOps.Current)
);
DefineLibraryMethod(module, "list", 0x61,
0x00000000U,
new Func<System.Object, IronRuby.Builtins.RubyArray>(IronRuby.Builtins.ThreadOps.List)
);
DefineLibraryMethod(module, "main", 0x61,
0x00000000U,
new Func<IronRuby.Runtime.RubyContext, IronRuby.Builtins.RubyClass, System.Threading.Thread>(IronRuby.Builtins.ThreadOps.GetMainThread)
);
DefineLibraryMethod(module, "new", 0x61,
0x80000000U,
new Func<IronRuby.Runtime.RubyContext, IronRuby.Runtime.BlockParam, System.Object, System.Object[], System.Threading.Thread>(IronRuby.Builtins.ThreadOps.CreateThread)
);
DefineLibraryMethod(module, "pass", 0x61,
0x00000000U,
new Action<System.Object>(IronRuby.Builtins.ThreadOps.Yield)
);
DefineLibraryMethod(module, "start", 0x61,
0x80000000U,
new Func<IronRuby.Runtime.RubyContext, IronRuby.Runtime.BlockParam, System.Object, System.Object[], System.Threading.Thread>(IronRuby.Builtins.ThreadOps.CreateThread)
);
DefineLibraryMethod(module, "stop", 0x61,
0x00000000U,
new Action<IronRuby.Runtime.RubyContext, System.Object>(IronRuby.Builtins.ThreadOps.Stop)
);
}
#endif