If you ever worked with threads, you know that thread synchronization is a serious topic. Today I'm going to talk about the ways in Java.
A thread is a small component of a process, that can run concurrently with the other components (threads).
Almost a year ago, I came across with this pThreads extension. It's an extension that makes it possible to create multi-threaded applications in PHP, and I completely fell in love with it.