At 12:11 PM 8/28/00 -0500, David L. Nicol wrote:
>What if every subroutine tagged itself with a list of the globals
>it uses, so a calling routine would know to add those to the list
>of globals it wants locked?
If you're looking for automagic locking of variables, you're treading deep
into "Interesting Research Problem" territory (read: Solve the Halting
Problem and win a prize!) if you want it to not deadlock all over the place.
Been there. Tried that. Backed away *real* slowly... :)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk
- Re: Are Perl6 threads preempt... Markus Peter
- Re: Are Perl6 threads preempt... Chaim Frenkel
- Re: Are Perl6 threads preempt... Steven W McDougall
- Re: Are Perl6 threads preempt... Chaim Frenkel
- Re: Are Perl6 threads preempt... Steven W McDougall
- Re: Are Perl6 threads preemptive or cooperative? Markus Peter
- Re: Are Perl6 threads preemptive or cooperative? Markus Peter
- Re: Are Perl6 threads preemptive or cooperative? David L. Nicol
- Re: Are Perl6 threads preemptive or cooperativ... Bryan C . Warnock
- Re: Are Perl6 threads preemptive or cooper... David L. Nicol
- Re: Are Perl6 threads preemptive or co... Dan Sugalski
- Re: Are Perl6 threads preemptive or co... Chaim Frenkel
- Re: Are Perl6 threads preemptive ... David L. Nicol
- Re: Are Perl6 threads preempt... Chaim Frenkel
- Re: Are Perl6 threads preempt... Markus Peter
