[Android] Implement fully pthread_rwlock*

Rafaël Carré git at videolan.org
Sat Mar 10 01:59:11 CET 2012


android | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb 29 22:41:04 2012 -0500| [445bd088a79ba1d3ac2d08a9793c8a80586e2cd2] | committer: Rafaël Carré

Implement fully pthread_rwlock*

The code comes from Android ICS
ABI didn't change since it was committed in 2.2

Tested on ICS, 2.2, 2.1

I am not sure which functions are executed when those are present in libc.so

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=445bd088a79ba1d3ac2d08a9793c8a80586e2cd2
---

 ...rw_locks-needed-for-Android-2.2-and-below.patch |  143 --------
 vlc-android/jni/Android.mk                         |    2 +-
 vlc-android/jni/pthread-rwlocks.c                  |  364 ++++++++++++++++++++
 3 files changed, 365 insertions(+), 144 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/android.git/?a=commitdiff;h=445bd088a79ba1d3ac2d08a9793c8a80586e2cd2


More information about the Android mailing list