android thread library ported to uclibc

Rob Landley rob at landley.net
Mon Nov 17 00:33:44 UTC 2008


On Sunday 16 November 2008 17:02:59 matthieu castet wrote:
> Hi,
>
> I updated the port.
>
> It now frees stack on thread exit, uses INLINE_SYSCALL, fixes forward
> stuff and should support arm (untested). This port should work as well
> as the original (ie in bionic libc).
>
> to use it on 0.9.30 :
> download http://castet.matthieu.free.fr/download/bionic_threadv2.tar.gz
> untar it in the uClibc root dir
> apply the attached patch and select android thread lib(unset all other
> thread lib).

Or you could apply the attached patch, which is less work.

What's the license on this?  It looks like it's BSD _with_advertising_clause_, 
which is incompatible with the GPL.

> + *  * Redistributions in binary form must reproduce the above copyright
> + *    notice, this list of conditions and the following disclaimer in
> + *    the documentation and/or other materials provided with the
> + *    distribution.

It looks really nice, small simple and supports TLS.  Alas, the advertising 
clause is a license incompatability.  (That's why the MIT/X license and such 
were invented.  Even berkeley gave permission to yank that, but this isn't 
copyrighted by berkeley, it's copyrighted by google's "android project", so 
the UCSB reagents notice doesn't apply...)

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pthread-android.diff.bz2
Type: application/x-bzip2
Size: 26729 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20081116/de497e7a/attachment-0002.bin 


More information about the uClibc mailing list