Page 1 of 1

A place is to be shared among different people, each of them has a unique id number. The place can be accessed simultane

Posted: Sat May 14, 2022 6:41 pm
by answerhappygod
A place is to be shared among different people, each of them has
a unique id number. The place can be accessed simultaneously by
several people, if the sum of all id numbers associated with all
the people currently accessing the place is less than p. Write a
monitor to coordinate access to the place in JAVA