[patch]Threads don't work on Android
Original Reporter info from Mantis: Andru
-
Reporter name:
Original Reporter info from Mantis: Andru
- Reporter name:
Description:
Here is a patch for initc, pthread and cthreads units. Also packages/pthreads/src/pthrlinux.inc need the same modification with hiding unsupported functions on Android platform.
There is an issue with CKillThread, which is need further investigation. Currently pthread_cancel replaced with pthread_kill with signal SIGKILL, but seems people are using signal SIGUSR1 instead with handling sigaction.
Mantis conversion info:
- Mantis ID: 21525
- OS: Android
- Platform: ARM
- Version: 2.6.1
- Fixed in version: 3.0.0