Hi
I am trying to add mutex lock timeout functionality in Mutex class
(frameworks/base/include/utils) using pthread_mutex_lock_timeout_np.
But when I build the android source I get error that

error: 'pthread_mutex_lock_timeout_np' was not declared in this scope

I checked that pthread.h is included but this file has lot of versions
in the workspace. It is available in development/ndk/platforms/android-
x , bionic/libc/include, prebuilt/ndk/android-ndk-r4/platforms/android-
x. All the versions have pthread_mutex_lock_timeout_np declared except
for platform android-3.

So it seems that my build configuration is picking pthread.h from
android-3 platform.
How can I configure the GB build system so that I can use pthread
version having pthread_mutex_lock_timeout_np ??

BR
Alok

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to