{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2024,6,17]],"date-time":"2024-06-17T16:37:00Z","timestamp":1718642220124},"reference-count":10,"publisher":"Cambridge University Press (CUP)","issue":"5-6","license":[{"start":{"date-parts":[[2016,10,14]],"date-time":"2016-10-14T00:00:00Z","timestamp":1476403200000},"content-version":"unspecified","delay-in-days":43,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2016,9]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>The runtime system of dynamic languages such as Prolog or Lisp and their derivatives contain a<jats:italic>symbol table<\/jats:italic>, in Prolog often called the<jats:italic>atom table<\/jats:italic>. A simple dynamically resizing hash-table used to be an adequate way to implement this table. As Prolog becomes fashionable for 24 \u00d7 7 server processes we need to deal with atom garbage collection and concurrent access to the atom table. Classical lock-based implementations to ensure consistency of the atom table scale poorly and a stop-the-world approach to implement atom garbage collection quickly becomes a bottle-neck, making Prolog unsuitable for soft real-time applications. In this article we describe a novel implementation for the atom table using lock-free techniques where the atom-table remains accessible even during atom garbage collection. Relying only on CAS (Compare And Swap) and not on external libraries, the implementation is straightforward and portable.<\/jats:p>","DOI":"10.1017\/s1471068416000272","type":"journal-article","created":{"date-parts":[[2016,10,15]],"date-time":"2016-10-15T21:28:20Z","timestamp":1476566900000},"page":"950-965","source":"Crossref","is-referenced-by-count":1,"title":["Lock-free atom garbage collection for multithreaded Prolog"],"prefix":"10.1017","volume":"16","author":[{"given":"JAN","family":"WIELEMAKER","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"KERI","family":"HARRIS","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"56","published-online":{"date-parts":[[2016,10,14]]},"reference":[{"key":"S1471068416000272_ref5","unstructured":"Klyne G. and Carroll J. J. 2004. Resource description framework (RDF): Concepts and abstract syntax. World Wide Web Consortium, Recommendation REC-rdf-concepts-20040210."},{"key":"S1471068416000272_ref10","doi-asserted-by":"crossref","first-page":"331","DOI":"10.1007\/978-3-540-24599-5_23","volume-title":"Logic Programming, 19th International Conference, ICLP 2003, Mumbai, India, December 9\u201313, 2003, Proceedings","author":"Wielemaker","year":"2003"},{"key":"S1471068416000272_ref9","volume-title":"2011 USENIX Annual Technical Conference, Portland, OR, USA, June 15-17, 2011","author":"Triplett","year":"2011"},{"key":"S1471068416000272_ref7","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2004.8"},{"key":"S1471068416000272_ref4","doi-asserted-by":"publisher","DOI":"10.1145\/1378704.1378725"},{"key":"S1471068416000272_ref2","first-page":"280","volume-title":"Proceedings of the 41st Annual Meeting on Association for Computational Linguistics - Volume 1","author":"Creutz","year":"2003"},{"key":"S1471068416000272_ref3","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2011.159"},{"key":"S1471068416000272_ref6","doi-asserted-by":"publisher","DOI":"10.1145\/1088361.1088369"},{"key":"S1471068416000272_ref1","doi-asserted-by":"publisher","DOI":"10.1145\/155090.155109"},{"key":"S1471068416000272_ref8","doi-asserted-by":"crossref","first-page":"129","DOI":"10.1145\/1993478.1993497","volume-title":"Proceedings of the International Symposium on Memory Management","author":"Tarau","year":"2011"}],"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068416000272","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,7,10]],"date-time":"2022-07-10T13:01:49Z","timestamp":1657458109000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068416000272\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2016,9]]},"references-count":10,"journal-issue":{"issue":"5-6","published-print":{"date-parts":[[2016,9]]}},"alternative-id":["S1471068416000272"],"URL":"https:\/\/doi.org\/10.1017\/s1471068416000272","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2016,9]]}}}