Re: Are Perl6 threads preemptive or cooperative?

[email protected] (Chaim Frenkel) 28 Aug 2000 18:11:28 -0400
Newsgroups perl.perl6.language.flow
Message-ID <[email protected]>
>>>>> "DLN" == David L Nicol <[email protected]> writes:

DLN> What if every subroutine tagged itself with a list of the globals
DLN> it uses, so a calling routine would know to add those to the list
DLN> of globals it wants locked?

And what about all the subroutines _it_ will call? And if you solve
that one, I'll throw in tied variables, and evaled statements, and ...

That way lies madness. Let us simply give the user the tools needed
to manage their locking.

<chaim>
-- 
Chaim Frenkel					     Nonlinear Knowledge, Inc.
[email protected]				               +1-718-236-0183