Futex based locks for C11's generic atomics (extended abstract) - Archive ouverte HAL Access content directly
Conference Papers Year : 2016

Futex based locks for C11's generic atomics (extended abstract)

Verrous basés sur futex pour les opérations atomiques génériques de C11 (résumé étendue)

(1)
1

Abstract

We present a new algorithm and implementation of a lock primitive that is based on Linux' native lock interface, the futex system call. It allows us to assemble compiler support for atomic data structures that can not be handled through specific hardware instructions. Such a tool is needed for C11's atomics interface because here an _Atomic qualification can be attached to almost any data type. Our lock data structure for that purpose meets very specific criteria concerning its field of operation and its performance. By that we are able to outperform gcc's libatomic library by around 60%.
Fichier principal
Vignette du fichier
sac2016.pdf (732.44 Ko) Télécharger le fichier
Origin : Explicit agreement for this submission
Loading...

Dates and versions

hal-01304108 , version 1 (19-04-2016)

Identifiers

Cite

Jens Gustedt. Futex based locks for C11's generic atomics (extended abstract). The 31st Annual ACM Symposium on Applied Computing, Apr 2016, Pisa, Italy. ⟨10.1145/2851613.2851956⟩. ⟨hal-01304108⟩
196 View
393 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More