Threading in Android

2 views
Skip to first unread message

Diluka Moratuwage

unread,
Jan 11, 2008, 4:12:11 AM1/11/08
to Android Internals
Hi all,

How will be the support for threads in, android platform ? Any ideas ?
No libpthread library there right now. Have anybody tried before ? Just
to make sure before jumping in ;).

Thanks,
Diluka.

Digit

unread,
Jan 11, 2008, 4:45:52 AM1/11/08
to android-...@googlegroups.com
in Android, all pthread support is directly built into the C library. this simplifies many things in the implementation, avoids the use of weak symbols in the dynamic linker, and a few other stuff.

however, you will not be able to use it until the C library sources are released.
so for now, just stick to statically linked glibc + libpthread for your native executables

Diluka Moratuwage

unread,
Jan 14, 2008, 12:32:31 AM1/14/08
to android-...@googlegroups.com
Thanks Digit, I could do the job, by linking with C library.

Thanks,
Diluka.

Reply all
Reply to author
Forward
0 new messages