Module: FSDB::ForkSafely

Includes:
Modex::ForkSafely
Included in:
FSDB
Defined in:
lib/fsdb/modex.rb

Overview

FSDB users who fork should include ForkSafely or FSDB itself. (The reason for this is that the fork may inherit some dead threads from the parent, and if they hold any locks, you may get a deadlock. ForkSafely modifies fork so that these dead threads are cleared. If you use modexes (outside of those in FSDB), they should be FSDB::Modexes.

Method Summary

Methods included from Modex::ForkSafely

#fork