Create thread with lots of parameters
| 102 | |
| 103 | // Create thread with lots of parameters |
| 104 | inline bool createThreadEtc(thread_func_t entryFunction, |
| 105 | void *userData, |
| 106 | const char* threadName = "android:unnamed_thread", |
| 107 | int32_t threadPriority = PRIORITY_DEFAULT, |
| 108 | size_t threadStackSize = 0, |
| 109 | thread_id_t *threadId = 0) |
| 110 | { |
| 111 | return androidCreateThreadEtc(entryFunction, userData, threadName, |
| 112 | threadPriority, threadStackSize, threadId) ? true : false; |
| 113 | } |
| 114 | |
| 115 | // Get some sort of unique identifier for the current thread. |
| 116 | inline thread_id_t getThreadId() { |
nothing calls this directly
no outgoing calls
no test coverage detected