MCPcopy Create free account
hub / github.com/HexHive/NASS / createThreadEtc

Function createThreadEtc

binderlib/include_android9/utils/AndroidThreads.h:104–113  ·  view source on GitHub ↗

Create thread with lots of parameters

Source from the content-addressed store, hash-verified

102
103// Create thread with lots of parameters
104inline 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.
116inline thread_id_t getThreadId() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected