Concurrent Programming – [ Thread Pool + Executor Framework ]
A thread pool is a collection of threads that are kept ready to execute tasks concurrently as they...
Concurrent Programming – [ Locks API ]
In Java, apart from using synchronized keyword to make thread safe of a shared resource, there are other...
Concurrent Programming – [ CAS And Atomic Classes ]
In Java, apart from using synchronized keyword to make thread safe of a shared resource, there are other...
Concurrent Programming – [ Keywords ]
In Java, there are 3 keywords tightly linked to multi-thread concurrent programming : What You Need 1. Volatile...
Concurrent Programming – [ Thread ]
A thread refers to a single sequential control flow in a process, it cannot exist independently, it must...
Concurrent Programming – [ Basic Knowledge ]
A Java application runs by default in one process. Within a Java application, we can use multi-threads to...