Back to index

python3.2  3.2.2
Classes | Variables
test.fork_wait Namespace Reference

Classes

class  ForkWait

Variables

tuple _thread = support.import_module('_thread')
int LONGSLEEP = 2
float SHORTSLEEP = 0.5
int NUM_THREADS = 4

Detailed Description

This test case provides support for checking forking and wait behavior.

To test different wait behavior, override the wait_impl method.

We want fork1() semantics -- only the forking thread survives in the
child after a fork().

On some systems (e.g. Solaris without posix threads) we find that all
active threads survive in the child after a fork(); this is an error.

Variable Documentation

Definition at line 14 of file fork_wait.py.

Definition at line 16 of file fork_wait.py.

Definition at line 18 of file fork_wait.py.

Definition at line 17 of file fork_wait.py.