in reply to advisory lock status when calling a function, with use strict
I don't know anything about lock, but I do know that there is no way strict would have anything to do with lock
In the code you've shown you only have the main thread, so lock is irrelevant
Yes, the lock is still on for the duration of the scope, the documentation is clear about this , threads::shared#lock
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: advisory lock status when calling a function, with use strict
by ISAI student (Scribe) on Jan 01, 2013 at 07:36 UTC |