no longer need ffmpeg patch0 which was for Termux
[goodguy/cinelerra.git] / cinelerra-5.1 / libbthread-master / README.md
1 libbthread
2 ==========
3
4 library that provide some missing posix threading function to the bionic libc.
5
6 while i was porting tens of linux projects under the dSploit android app i found that
7 the bionic libc does not provide some POSIX thread functions like `pthread_cancel`, `pthread_testcancel` and so on.
8
9 so, i developed this library, which exploit some unused bits in the bionic thread structure.
10
11 there is many thing to develop, like support for deferred cancels, but basic thread cancellation works :smiley:
12
13 i hope that you find this library useful :wink: 
14
15 -- tux_mind
16
17 License
18 ==========
19
20 Project is licensed under GNU LGPL v2.0 (Library General Public License)
21
22 pt-internal.h - is from The Android Open Source Project and licensed under Apache License, Version 2.0
23
24 building
25 ========
26
27 ```bash
28 $ autoreconf -i
29 $ export PATH="$PATH:/path/to/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin"
30 $ target_host=aarch64-linux-android
31 $ export AR=${target_host}-ar
32 $ export AS=${target_host}-as
33 $ export CC=${target_host}21-clang
34 $ export CXX=${target_host}21-clang++
35 $ export LD=${target_host}-ld
36 $ export STRIP=${target_host}-strip
37 $ export CFLAGS="-fPIE -fPIC"
38 $ export LDFLAGS="-pie"
39 $ ./configure --host=${target_host}
40 $ make
41 ```