Don't have Telegram yet? Try it now!
https://www.embedded.com/effective-use-of-pthreads-in-embedded-linux-designs-part-2-sharing-resources/
Effective use of Pthreads in embedded Linux designs: Part 2 –Sharing resources