[Edit (2011-12-25)] It looks like the way to select the the mutex functions changed slightly since I published this post. Please consult the current documentation to see the difference! [/Edit] When a network application needs privacy and possibly authentication, using SSL or TLS is often the solution. One of the libraries that are commonly usedContinue reading “GnuTLS and GLib, Part 1: Threads”
Tag Archives: threads
What is a mutex?
The concept of a “mutex” is somewhat difficult to understand at first. This is my attempt at a simple explanation.
Events and threads: A mutex is not enough!
While mutexes, used the right way, prevent colliding memory access, they don’t magically solve other pitfalls of multi-threaded operation. About the ensuing trouble and the lesson learned.