Nmap Development mailing list archives

Re: Error handling + Mutexes


From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Fri, 10 Oct 2008 17:40:54 -0600

On Fri, Oct 10, 2008 at 9:34 AM, Ron <ron () skullsecurity net> wrote:
Hello,

A bug David noticed in my code reminded me of something I've been meaning to
ask -- if I use a mutex in my code, and then I have a runtime error, the
mutex is never unlocked and Nmap will sit forever.

Besides writing perfect code, is it possible to catch a runtime error and
unlock the mutex?

Ron

Please see this thread: http://seclists.org/nmap-dev/2008/q3/0275.html

Cheers,

-- 
-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: