Bug #5240 » rb-main.diff
ruby1.9.1-1.9.3~preview1+svn33077/main.c | ||
---|---|---|
RUBY_GLOBAL_SETUP
|
||
extern void timer_thread_child_at_fork();
|
||
int
|
||
main(int argc, char **argv)
|
||
{
|
||
... | ... | |
setlocale(LC_CTYPE, "");
|
||
#endif
|
||
pthread_atfork(NULL, NULL, timer_thread_child_at_fork);
|
||
|
||
ruby_sysinit(&argc, &argv);
|
||
{
|
||
RUBY_INIT_STACK;
|
- « Previous
- 1
- 2
- Next »