Snort mailing list archives

Multi threading in ips_options


From: Damian Chiliński via Snort-devel <snort-devel () lists snort org>
Date: Mon, 11 Mar 2019 03:27:15 +0100

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
_______________________________________________
Snort-devel mailing list
Snort-devel () lists snort org
https://lists.snort.org/mailman/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

Current thread: