[Snort-devel] Multi threading in ips_options

Damian Chiliński lapsio3 at gmail.com
Sun Mar 10 22:27:15 EDT 2019

How does multi threading work in Snort 3? I mean - i made IPS Option and I
want it to be stateful (as in use global data shared amongst all ips option
instances). However from what I saw in manual Snort 3 support multi
threading. So how do I handle critical sections in IPS Option module code?
Can I just use pthread mutexes? Or is there some other recommended way?

Best regards
Damian Chilinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20190311/a2ff66fc/attachment.html>

More information about the Snort-devel mailing list