Beginnings of a single function with all PAPI/Linux locking functions.
Beginnings of a single function with all PAPI/Linux locking functions.

Note to PAPI-C developers. The multiple context concept of PAPI-C has failed
to include the lock data structure. PAPI currently only has one scope of
locks that span the high-level to the low-level. This will need to be revisited
and the locks split into high-level and per-context locks.

pyrovski/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi