[erlang-questions] Terminating process after timeout

Kirill Zaborski <>
Tue Jun 26 09:43:30 CEST 2007


I was wondering - what is the right way to to spawn a process and kill
it if it runs more than some threshold? The only way I see at the
moment is to spawn process aditional process which will check if the
worker procees finished after the specified time and if not it will
kill the worker.
Is there some other ways to implement the desired behaviour?

Regards,
Kirill.



More information about the erlang-questions mailing list