The "forks" pragma allows a developer to use threads without having to have a threaded perl, or to even run 5.8.0 or higher.
Refer to the the threads manpage module for ithreads API documentation. Also, use
perl -Mforks -e 'print $threads::VERSION'
to see what version of the threads manpage you should refer to regarding supported API features.
There were a number of goals that I am trying to reach with this implementation.
Using this module *only* makes sense if you run on a system that has an implementation of the 'fork' function by the Operating System. Windows is currently the only known system on which Perl runs which does *not* have an implementation of 'fork'. Therefore, it *doesn't* make any sense to use this module on a Windows system. And therefore, a check is made during installation barring you from installing on a Windows system.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.36-bp156.3.3 info | GA Release | 2023-12-07 | 15 SP6 |
|
|
0.36-bp155.2.9 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.36-bp154.1.17 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.36-bp153.1.14 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.36-bp152.3.15 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.36-bp151.1.1 info | GA Release | 2019-06-18 | 15 SP1 |
|
|