Project

General

Profile

Actions

Bug #15013

closed

thread_pthread.c: reinitialize ubf_list at fork

Added by normalperson (Eric Wong) over 6 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:88578]

Description

thread_pthread.c: reinitialize ubf_list at fork

It's possible for the ubf_list_head to be populated with dead
threads at fork or the ubf_list_lock to be held, so reinitialize
both at startup.

And while we're at it, use a static initializer at startup
to save a library call and kill some ifdef.


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0