| libtbx.symmetric_multi_processing | index /net/chevy/raid1/rwgk/dist/cctbx_project/libtbx/symmetric_multi_processing.pyc |
Python threading is useless in the context of symmetric multiprocessor
(SMP) machines because the interpreter data structures are not thread-safe.
As a result, a global interpreter lock (GIL) ensures that one and only one
thread can run the interpreter at any time. As a result, it is impossible
to concurrently run Python functions on several processors. The BDL has made
it quite clear the situation will not change in the foreseeable future.
However multiprocessor machines are now mundane. Hence this module. For the
time being, only UNIX systems are supported, through the use of 'fork'.
| Modules | ||||||
| ||||||
| Classes | ||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||
| Functions | ||
| Data | ||
| division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192) generators = _Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 0) is_available = True | ||