Sequentional execution: example of Reactor pattern impl (opens in new tab)
Basic example of Reactor pattern implementation within two threads
Read the original articleBasic example of Reactor pattern implementation within two threads
Read the original article