Code

snmp_agent: Avoid race conditions between thread start and locks initialization.
authorPavel Rochnyack <pavel2000@ngs.ru>
Wed, 12 Jul 2017 14:06:22 +0000 (21:06 +0700)
committerPavel Rochnyack <pavel2000@ngs.ru>
Thu, 13 Jul 2017 15:20:45 +0000 (22:20 +0700)
commit9bdf6cbef6eaf867b3a614fdf544cf3b38712ef7
treedbf713927574bf4221657f411e24c50c9e30b602
parentbea5daaed7b5cf9160207a95292947873fdcf927
snmp_agent: Avoid race conditions between thread start and locks initialization.

Lock initialization should be done before starting pthread which uses them.
src/snmp_agent.c