Help with Operating Systems Theory (CPU Scheduling, and Java Synchronization using monitors)