mailing list archives
[NSE] Resource Cleanup Upon Thread Death
From: Patrick Donnelly <batrick () batbytes com>
Date: Mon, 1 Jun 2009 23:11:26 -0600
Attached is a patch to allow the cleanup of resources when a thread
dies for any reason (including normally). The current and only
resource we have in mind for this is mutexes. When a thread ends, any
mutex locked shall be unlocked immediately allowing for other threads
to avoid deadlock.
Feel free to test this (an example script is attached also) and report
what you think.
"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."
- Benjamin Franklin
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org
- [NSE] Resource Cleanup Upon Thread Death Patrick Donnelly (Jun 02)