Can i typecast android_thread_id_t to pthread_t?  I am creating thread
using createThreadEtc. and using android::Mutex and android::Condition
for synchronization. For pthread_join i need to pass pthread_t as
parameter.

On Apr 20, 10:00 pm, Jeff Hamilton <j...@android.com> wrote:
> Bionic does have support for pthreads, including pthread_join(). See
> bionic/libc/include/pthread.h.
>
> -Jeff
>
> On Mon, Apr 20, 2009 at 9:02 AM, nightwish <sunidwil...@gmail.com> wrote:
>
> > Is it advisable to use pthread APIs in Andriod library layer? I need
> > to use pthread_join for my component written in C++. But unfortunately
> > i dint find any APIs which support this is Threads.cpp.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to