Movatterモバイル変換


[0]ホーム

URL:


functions /lock
(source,CPAN)
You are viewing the version of this documentation from Perl 5.8.9.View the latest version
#lock THING

This function places an advisory lock on a shared variable, or referenced object contained inTHING until the lock goes out of scope.

lock() is a "weak keyword" : this means that if you've defined a function by this name (before any calls to it), that function will be called instead. (However, if you've saiduse threads, lock() is always a keyword.) Seethreads.

Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.

The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.


[8]ページ先頭

©2009-2026 Movatter.jp