freebsd-dev/sys/contrib/cloudabi
Ed Schouten 38526a2cf1 Sync in the latest CloudABI system call definitions.
Some time ago I made a change to merge together the memory scope
definitions used by mmap (MAP_{PRIVATE,SHARED}) and lock objects
(PTHREAD_PROCESS_{PRIVATE,SHARED}). Though that sounded pretty smart
back then, it's backfiring. In the case of mmap it's used with other
flags in a bitmask, but for locking it's an enumeration. As our plan is
to automatically generate bindings for other languages, that looks a bit
sloppy.

Change all of the locking functions to use separate flags instead.

Obtained from:	https://github.com/NuxiNL/cloudabi
2016-03-31 18:50:06 +00:00
..
cloudabi64_types.h Sync in the latest CloudABI system call definitions. 2016-03-31 18:50:06 +00:00
cloudabi_types_common.h Sync in the latest CloudABI system call definitions. 2016-03-31 18:50:06 +00:00
syscalls.master Sync in the latest CloudABI system call definitions. 2016-03-31 18:50:06 +00:00