Hi marklane, you don´t need an initialisation hook. just ensure that your 
worker-code is reentrant (if you like to go without locks) and use a kind of 
"context"-object as a parameter for your worker-proc for instance. An example 
would be Goran´s excellent blog: 
[http://goran.krampe.se/2014/10/25/nim-socketserver](http://goran.krampe.se/2014/10/25/nim-socketserver)/
 or [https://forum.nim-lang.org/t/959](https://forum.nim-lang.org/t/959) but 
there are also other valuable examples on github. Hope this helps.

Reply via email to