OSDN Git Service

Work around a bug in Immersion's libImmEmulatorJ.so.
authorElliott Hughes <enh@google.com>
Tue, 7 Oct 2014 23:02:11 +0000 (16:02 -0700)
committerElliott Hughes <enh@google.com>
Tue, 7 Oct 2014 23:08:46 +0000 (16:08 -0700)
commitb5e7eba6d1b97e471996fcfe7dbde7cbba7512ef
tree38170eef8024ca94bde932918a646b95d5b68cdb
parentea8dea8cb7ca90569fa2fa0d2a560d0493e114ec
Work around a bug in Immersion's libImmEmulatorJ.so.

This library calls pthread_mutex_lock and pthread_mutex_unlock with a NULL
pthread_mutex_t*. This gives them (and their users) one release to fix things.

Bug: 17443936

(cherry picked from commit 7d3f553f989f830976efa92ddc3c84661d4d42aa)

Change-Id: Ie26bbecd3a74d61113b51c18832872499b97ee86
libc/bionic/pthread_mutex.cpp
libc/include/pthread.h