Synchronization using Message Passing | Multi-Threading in Java

Project Requirements

  • Using pipes create communication between three threads TA and TB and TC.

  • TA sends primitive data to TB and objects to TC. TB sends primitive data to

  • TA. TC sends objects to TA and primitive data to TB.

Check the message class of and use a similar object. You will have two pieces of information: number and id. Don’t create more pipes than necessary.
Powered by