in reply to Re: Re: Perl should start to specify which function and module are thread-safe
in thread Perl should start to specify which functions and modules are thread-safe
You make a good point that by encapsulation you shouldn't need to know about locking, but surely the core algorithms for mapping a file to an array don't need to know about thread locking? This would be best served by adding another layer on top of the existing class.
--
integral, resident of freenode's #perl
|
---|