in reply to (ithreads) :locked subs
Still looking at a way to have Perl bomb at compilation when using the "locked" attribute in ithreads. Even if I would find it, I doubt whether Jarkko will allow it this late in the release game ;-(
Liz
Update:
I've just submitted a patch to p5p that will make:
die at compilation time with:sub a : locked {}
if your Perl was compiled with ithreads support. As this (small) change to toke.c broke quite a number of tests when testing a threaded perl, I needed to patch 5 test-files to fix the errors. Therefore, I'm doutbful whether it will get included in 5.8.1.Invalid CODE attribute (with ithreads): locked at line ....
Update:
The documentation patch made it into 5.8.1, the patch that would make using :locked a compile error, didn't.
|
|---|