Notes for all
The Note class will be used by threads. Consequently, you need to be sure that the notes list is in shared memory, i.e. that it will not be cached by threads in their local memory.
Without using synchronized, make the number of proposals made equal to the number of and proposals accepted.
GO TO FULL VERSION