|
Nmap Development
mailing list archives
Re: [NSE] nmap timing info for scripts
From: Brandon Enright <bmenrigh () ucsd edu>
Date: Sun, 13 Jan 2008 01:18:44 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 13 Jan 2008 01:13:24 +0000 or thereabouts "Eddie Bell"
<ejlbell () gmail com> wrote:
My only concern is that usleep will block so will waste time when
other scripts could be running . Perhaps there is a more efficient
non-blocking way to achieve the same thing (continuation 'yield'
style). I don't really know enough about nse internals though.
Most people achieve short non-blocking sleeps via calls to select(). I
suspect there is some Lua interface to select() accomplish this.
Brandon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHiWb7qaGPzAsl94IRAiD5AJ4uSfmNcbJNVOxA8hcSFiRJRbEaggCfdj1y
ET8erVajtSmDFhWVEQpA+cc=
=i/Ta
-----END PGP SIGNATURE-----
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
By Date
By Thread
Current thread:
- RE: [NSE] nmap timing info for scripts, (continued)
|