Nmap Development mailing list archives

Error handling + Mutexes


From: Ron <ron () skullsecurity net>
Date: Fri, 10 Oct 2008 10:34:32 -0500

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

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


Current thread: