Relative Content

Tag Archive for javaconcurrencymonitorjava-threads

How to use Monitor from Java Thread Class

I have some difficoult to implements the logic of concurrent develope based on Operating System Theory. I don’t know how to divede my work to finalize in a correct solution, I know that will be ever a class Monitor, a Main class that It’s the same of Thread0 or the Father process in the flux, but for managing the Threads that concurrent to give the access to Shered resource I encounter some issue. For figure out an example that It’s a possible case of use: