Re: [Perlunit-devel] Suggestions for a PerlUnit conundrum?
Status: Beta
Brought to you by:
mca1001
From: Adam S. <ad...@sp...> - 2002-06-21 13:46:13
|
Matthias Ferber (mf...@hi...) wrote: > Named pipes have all the same problems as message queues, unfortunately. > All three of the main IPC tools -- those two and shared memory -- use OS > constructs that don't go away on their own. I chose message queues > because it's best at handling discrete, sequential messages, which is what > I needed. > > I handled the problem in the script that runs the test by having it check > first for existing message queues that may have been left behind by > unfinished runs in the past and giving the user a chance to delete them. > It's not perfect, and more to the point it's not (and cannot be) part of > the test framework. > > So I'm not sure what to with this. Do you think it's worth considering as > part of the framework, with a big fat warning or two in the POD? Difficult to say without seeing the code and understanding more about how message queues get left behind. Can't you do some cleanup in END? |