global state is guarded using a single mutex
global state is guarded using a single mutex

Signed-off-by: Martin Sustrik <4dd6061be1198639e8b05ce4fd5ead7a0dcaa0f4@250bpm.com>

kaostao/nanomsg,wirebirdlabs/featherweight-nanomsg,simplestbest/nanomsg,krafczyk/nanomsg,linearregression/nanomsg,reqshark/nanomsg,featherweight/ftw-kernel-nanomsg,krafczyk/nanomsg,nirs/nanomsg,smithed/nanomsg,JackDunaway/featherweight-nanomsg,tempbottle/nanomsg,yan97ao/nanomsg,modulexcite/nanomsg,smithed/nanomsg,potatogim/nanomsg,cosin2008/nanomsg.NET,imp/nanomsg,cosin2008/nanomsg.NET,pch957/nanomsg,thisco-de/nanomsg,TTimo/nanomsg,yan97ao/nanomsg,simplestbest/nanomsg,TTimo/nanomsg,snikulov/nanomsg,modulexcite/nanomsg,reqshark/nanomsg,snikulov/nanomsg,wirebirdlabs/featherweight-nanomsg,potatogim/nanomsg,yan97ao/nanomsg,ttyangf/nanomsg,reqshark/nanomsg,krafczyk/nanomsg,cosin2008/nanomsg.NET,gdamore/mamomsg,ttyangf/nanomsg,JackDunaway/featherweight-nanomsg,linearregression/nanomsg,ttyangf/nanomsg,ttyangf/nanomsg,tempbottle/nanomsg,zerotacg/nanomsg,linearregression/nanomsg,JackDunaway/featherweight-nanomsg,TTimo/nanomsg,wfxiang08/nanomsg,pakozm/nanomsg,wfxiang08/nanomsg,hyperfact/nanomsg,gdamore/mamomsg,smithed/nanomsg,pch957/nanomsg,nirs/nanomsg,kaostao/nanomsg,tempbottle/nanomsg,smithed/nanomsg,imp/nanomsg,wfxiang08/nanomsg,imp/nanomsg,hyperfact/nanomsg,simplestbest/nanomsg,gdamore/mamomsg,potatogim/nanomsg,pakozm/nanomsg,zerotacg/nanomsg,featherweight/ftw-kernel-nanomsg,zerotacg/nanomsg,wirebirdlabs/featherweight-nanomsg,kaostao/nanomsg,thisco-de/nanomsg,nirs/nanomsg,hyperfact/nanomsg,pch957/nanomsg,pakozm/nanomsg,kaostao/nanomsg,modulexcite/nanomsg,TTimo/nanomsg