[erlang-questions] : Subtle behaviour of Erlang scheduler
KatolaZ
me@REDACTED
Thu May 31 11:59:32 CEST 2007
On Thu, May 31, 2007 at 11:49:10AM +0200, Rickard Green wrote:
> >
> > Unfortunately, it seems to be false, or I'm missing something! Here
> > is a simple example where all code for high prio processes is loaded
> > (it is indeed a self-contained module!), and proc_high2 is starved by
> > proc_high:
> >
>
> No, it is not false. The problem is that proc_high2 never gets the
> chance the set prio high. It is still on prio normal. You have to spawn
> it with prio high (see spawn_opt) in order for this example to work as
> expected (and it will; i've tried it).
>
OK, thank you :-)
HND
Enzo
--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]
More information about the erlang-questions
mailing list