summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-11-20Set symbol visibility attribute to hide internal symbolsHEADmasterKeith Packard3-8/+53
Expose only the official API. Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-20Provide pthread-based alternative implementationKeith Packard7-2/+214
This uses pthread mutexes and condition variables instead of futexes. Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-20Split out futex implementation from general APIKeith Packard5-107/+164
This splits the futex-specific code out into a separate file so that future versions of the library could use some other underlying primitive. Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-20Add test programKeith Packard4-1/+189
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-20Use O_TMPFILE if availableKeith Packard2-4/+12
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-20Locate directory for shared memory files at configure timeKeith Packard2-1/+48
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-11-20Change fence memory type from 'int32_t' to 'struct shmfence'Keith Packard3-23/+30
This will allow other implementations to use alternate representations, as well as providing additional typechecking. Signed-off-by: Keith Packard <keithp@keithp.com>
2013-10-31Update to verion 1.0Keith Packard1-1/+1
Signed-off-by: Keith Packard <keithp@keithp.com>
2013-04-29Import first version of the libraryKeith Packard8-0/+394
Signed-off-by: Keith Packard <keithp@keithp.com>