zeek/scripts/base/frameworks
Robin Sommer 38e1dc9ca4 Support for cleaning up threads that have terminated.
Once a BasicThread leaves its run() method, a thread is now marked for
cleaning up, and the ThreadMgr will soon join it to release the OS
resources.

Also, adding a function Log::remove_stream() that remove a logging
stream, stopping all writer threads that are associated with it.

Note, however, that removing a *filter* from a stream still doesn't
clean up any threads. The problem is that because of the output paths
potentially being created dynamically it's unclear if the writer
thread will still be needed in the future. We could add clean writers
up with timeouts, but that doesn't sound great either. So for now, the
only way to sure clean up logging threads is to remove the entire
stream.

Also note that cleanup doesn't work with input threads yet, which
don't seem to terminate (at least in the case I tried).
2013-03-14 14:59:05 -07:00
..
cluster s/bro-ids.org/bro.org/g 2013-03-07 19:33:04 -08:00
communication Merge remote-tracking branch 'vlad/info_record_fixes' 2012-07-13 16:20:49 -07:00
control Enable Bro to communicate with peers over non-global IPv6 addresses. 2012-05-17 12:59:20 -05:00
dpd Fixed some problems with the SOCKS analyzer and tests. 2012-06-20 22:57:46 -04:00
input Merge remote-tracking branch 'origin/topic/bernhard/input-logging-commmon-functions' 2013-01-23 16:51:54 -08:00
intel Fix some warnings from sphinx when building docs. 2012-11-15 16:40:18 -06:00
logging Support for cleaning up threads that have terminated. 2013-03-14 14:59:05 -07:00
metrics Fixing a warning from the documentation generation. 2012-01-06 16:50:20 -05:00
notice Merge remote-tracking branch 'origin/topic/seth/notice-framework-updates' 2013-03-06 16:45:30 -08:00
packet-filter Checkpoint after pass. 2012-02-15 13:07:08 -08:00
reporter Change reporter messages to more reliably print to stderr. 2013-01-18 12:46:00 -06:00
signatures remove the byte_len and length bifs 2013-03-06 13:45:42 -08:00
software One more very minor change I forgot to commit. 2012-02-03 16:27:51 -05:00
tunnels Add parsing for GTPv1 extension headers and control messages. 2013-02-07 14:59:02 -06:00