… | |
… | |
15 | =head1 DESCRIPTION |
15 | =head1 DESCRIPTION |
16 | |
16 | |
17 | This specification describes a simple mechanism for XS modules to allow |
17 | This specification describes a simple mechanism for XS modules to allow |
18 | re-use of the perl interpreter for other threads while doing some lengthy |
18 | re-use of the perl interpreter for other threads while doing some lengthy |
19 | operation, such as cryptography, SQL queries, disk I/O and so on. |
19 | operation, such as cryptography, SQL queries, disk I/O and so on. |
|
|
20 | |
|
|
21 | The mechanism basically implements the same mechanism that practically |
|
|
22 | all other scripting languages (e.g. python) use when implementing real |
|
|
23 | threads. |
20 | |
24 | |
21 | The design goals for this mechanism were to be simple to use, to be |
25 | The design goals for this mechanism were to be simple to use, to be |
22 | extremely low overhead when not active, with both low code and data size |
26 | extremely low overhead when not active, with both low code and data size |
23 | overhead and broad applicability. |
27 | overhead and broad applicability. |
24 | |
28 | |