Well, well...
Julio César Carrascal Urquijo
jcesar at phreaker.net
Sat Aug 4 18:26:32 PDT 2007
Robert Fraser wrote:
> Julio César Carrascal Urquijo Wrote:
>> Yes, that's because Erlang supports a mechanism know as process
>> monitoring in which for most process another process is launched whose
>> sole task is checking up the behavior of the first one. Process are so
>> cheap that you can "waste" one process to monitor another and relaunch
>> it if it crashes.
>
> Wow, that sounds a lot more complicated than exceptions to do effectively the same thing.
Not quite. This is more of a guardian process as implemented as by
Apache or FirebirdSQL in which the guardian restarts a process if it has
miss-behaved but in the case of Erlang is almost one guardian process
for each process working.
More information about the Digitalmars-d
mailing list