mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 02:19:04 +00:00
Signal the condvars when threads are finished.
This commit is contained in:
@@ -148,6 +148,7 @@ local function thread_main(results, name_iter)
|
||||
end
|
||||
end
|
||||
end
|
||||
condvar("signal")
|
||||
end
|
||||
|
||||
local function srv_main(srvresults, srv_iter)
|
||||
@@ -174,6 +175,7 @@ local function srv_main(srvresults, srv_iter)
|
||||
end
|
||||
end
|
||||
end
|
||||
condvar("signal")
|
||||
end
|
||||
|
||||
action = function(host)
|
||||
|
||||
Reference in New Issue
Block a user