need sugestion about mutex
I need suggestion about parallel computing in my daemon.
So, I've a daemon which use different sockets, but i need have a new socket bind while other well works. Actually, i stumbled with how that make with more performance.
i.e. I should do checkout every time some options in the struct(elements) and use it so as to open a new socket and use if in the main thread. Or it possible only in the new\own thread, where socket was created?
may be sample will be very helpful, any way thanks in advance.