[Oisf-devel] codes of clean unix socker manager thread

iswalker mail2cissp at gmail.com
Sat Feb 23 11:19:03 UTC 2013


when suricata exit, UnixSocketKillSocketThread() called ,but the codes in
this function will NOT execute,


void UnixSocketKillSocketThread(void)
{
    ThreadVars *tv = NULL;

    SCMutexLock(&tv_root_lock);

    /* flow manager thread(s) is/are a part of mgmt threads */
/*iswalker,here index should be TVT_CMD,because codes in TV type in
TmThreadCreateCmdThread register is TVT_CMD*/
 tv = tv_root[TVT_MGMT];

thanks.

iswalker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20130223/3b6655d2/attachment.html>


More information about the Oisf-devel mailing list