kgunn/libhybris — pull request #1 by kgunn (2013-05-15 20:12:21+00:00)
Title: to test with nexus7

When some android code uses a process-shared mutex and/or condition, hybris should also use process-shared mutex/condition. To do so, we have to use a shared memory segment to store the corresponding glibc mutex/conditions.

Current limitations:
- There is a maximum number (1000) of mutex and conditions that can be allocated
- The shared memory segment is located at a pre-determined address (0x50000000), to be able to identify which mutexes are located in a shared memory region.

Signed-off-by: Christophe Chapuis