These are my blogs

and also my life

pthread barrier example

2019-08-12 c thread concurrent

A Barrier in computing is a synchronization method where a group of threads cannot proceed until a condition allows the blocked threads to proceed. In ... Read More

Java Cyclic Barrier

2019-02-25 java concurrent thread

Imagine a scenario where you have N threads and can only do something when M of them are ready. Java already has this built in since 1.5 with the ... Read More

Java Multicore Example

2019-02-24 java concurrent thread

Any program these days that does any significant computational load should utilize the availble processor cores. In this post we’ll show an ... Read More