1 package Thread::Specific;
5 Thread::Specific - thread-specific keys
10 my $k = key_create Thread::Specific;
14 C<key_create> returns a unique thread-specific key.
18 sub import : locked : method {
23 sub key_create : locked : method {
24 our %FIELDS; # suppress "used only once"
25 return ++$FIELDS{__MAX__};