Home page logo

nmap-dev logo Nmap Development mailing list archives

[NSE] Resource Cleanup Upon Thread Death
From: Patrick Donnelly <batrick () batbytes com>
Date: Mon, 1 Jun 2009 23:11:26 -0600

Hi List,

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.


-Patrick Donnelly

"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."

- Benjamin Franklin

Attachment: resource_collection.patch

Attachment: test.nse

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]