Nmap Development mailing list archives
[NSE] Yielding to other threads?
From: Ron <ron () skullsecurity net>
Date: Mon, 29 Dec 2008 16:02:24 -0600
Hi all,In a NSE script, is it possible to yield to another thread if I'm doing something that I know will take awhile?
I'd like to do something that I know will take at least 5 seconds to respond. But instead of waiting on a socket that I know is going to time out, is there some way I can sleep for 5 seconds then come back?
Is any of that possible/simple? Ron _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [NSE] Yielding to other threads? Ron (Dec 29)
- Re: [NSE] Yielding to other threads? Patrick Donnelly (Dec 29)