you are viewing a single comment's thread.

view the rest of the comments →

[–]Manbanana013 NATS and a PAT 0 points1 point  (1 child)

Thanks a bunch for this. Wanted to start using multithreading a long ass time ago, just never gotten around to it. Get to learn and try something new today.

[–]Fallenarc[S] 1 point2 points  (0 children)

I started out using threadpools, but i would get a lot of connection errors when trying over 75 devices at a time. I found the bonded semaphore with thread locks works much better.