How to solve the Santa Claus problem

MORDECHAI BEN‐ARI
<span title="">1998</span> <i title="Wiley"> <a target="_blank" rel="noopener" href="https://fatcat.wiki/container/g5dm2rug7vbappj7xnqrzi3owm" 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="https://doi.org/10.1002/(sici)1096-9128(199805)10:6&lt;485::aid-cpe329&gt;3.3.co;2-u">doi:10.1002/(sici)1096-9128(199805)10:6&lt;485::aid-cpe329&gt;3.3.co;2-u</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/akl4vpmborbg7dutahxhi5s2i4">fatcat:akl4vpmborbg7dutahxhi5s2i4</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20030516073704/http://stwww.weizmann.ac.il:80/g-cs/benari/articles/santa.pdf" 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="https://blobs.fatcat.wiki/thumbnail/pdf/57/5b/575bd506b6531db2133eb50f9256d235f788ea81.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1002/(sici)1096-9128(199805)10:6&lt;485::aid-cpe329&gt;3.3.co;2-u"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> wiley.com </button> </a>