X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLexical-Types.git;a=blobdiff_plain;f=lib%2FLexical%2FTypes.pm;h=518e20522e776bc48e8c73def5b1c8685d49c0ad;hp=88b00afdf6073d65b746e67d7a9af0a0fc5b8f05;hb=cb00fbfded7c20f01c75b520c5e5d2b582e2d4be;hpb=b99a3bce46a7a325bfe18ce349df5cd80bdbc78f diff --git a/lib/Lexical/Types.pm b/lib/Lexical/Types.pm index 88b00af..518e205 100644 --- a/lib/Lexical/Types.pm +++ b/lib/Lexical/Types.pm @@ -269,6 +269,8 @@ The restrictions on the type (being either a defined package name or a constant) Only one mangler or prefix can be in use at the same time in a given scope. +Typed lexicals declarations that appear in code C'd during the global destruction phase of a spawned thread or pseudo-fork (the processes used internally for the C emulation on Windows) are ignored. + The implementation was tweaked to work around several limitations of vanilla C pragmas : it's thread safe, and doesn't suffer from a C bug that causes all pragmas to propagate into Cd scopes. With 5.8 perls, the pragma does not propagate into C.