Addded mutex and fifo for linux