How to solve the Santa Claus problem

<span title="">1998</span> <i title="Wiley"> <a target="_blank" rel="noopener" href="" style="color: black;">Concurrency Practice and Experience</a> </i> &nbsp;
John Trono published a new exercise in concurrent programming-the Santa Claus problem-and provided a solution based on semaphores [12] . His solution is incorrect because it assumes that a process released from waiting on a semaphore will necessarily be scheduled for execution. We give a simple solution in Ada 95 using higher order synchronization primitives: protected objects and rendezvous. We then give solution in Java, though this solution is not as elegant as the Ada 95 solution because
more &raquo; ... Java synchronization primitives are rather limited. The problem demonstrates that semaphores, designed for low-level mutual exclusion, are not appropriate for solving difficult concurrent programming problems.
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href=";485::aid-cpe329&gt;;2-u">doi:10.1002/(sici)1096-9128(199805)10:6&lt;485::aid-cpe329&gt;;2-u</a> <a target="_blank" rel="external noopener" href="">fatcat:akl4vpmborbg7dutahxhi5s2i4</a> </span>
<a target="_blank" rel="noopener" href="" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href=";485::aid-cpe329&gt;;2-u"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> </button> </a>