Re: Supervisor got noproc (looks like a bug)

Maria Scott <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>
> It seems like, the behaviour of the monitor should be changed somehow,

I don't think the general working of monitors can be changed easily, and not without causing far-reaching repercussions =\

> and the code https://github.com/erlang/otp/blob/0bad25713b0bc4a875e9ef7d9b1abcb6a2f75061/lib/stdlib/src/supervisor.erl#L957-L982
> seems a little bit outdated due to the async nature of the monitors
> and such tricky race, also, it's 12 years old... :)

Most of the supervisor code is old/old-fashioned, I had my hands in there not too long ago ^^; That said, as it is a very central component to OTP, there is understandably some reluctance to change the battle-tested-by-time old code just for the sake of following the latest trends ;)

> I would like to see, what others add OTP maintainers thinks about this
> behaviour?

Open an issue at https://github.com/erlang/otp? That's more likely to catch their attention than the mailing list ;)

Regards,
Maria
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.