Link to home
Create AccountLog in
Avatar of tyamauch
tyamauch

asked on

lock a subroutine with ithreads

Hello,I'm new to Perl threads.
I don't know how to lock a subroutine with ithreads.
while I'm googling, I found a way to lock a sub; lock &sub.
But it's for 5005threads and it seems the function is no longer
supported in ithreads.

Please help me.
ASKER CERTIFIED SOLUTION
Avatar of tyamauch
tyamauch

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account