mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Add new util function
This commit is contained in:
@ -208,6 +208,7 @@ int parse_int(S __s) { return parse_int(__s.data()); }
|
||||
|
||||
int new_daemon_thread(void *(*start_routine) (void *), void *arg = nullptr,
|
||||
const pthread_attr_t *attr = nullptr);
|
||||
int new_daemon_thread(std::function<void()> &&fn);
|
||||
|
||||
struct exec_t {
|
||||
bool err = false;
|
||||
|
Reference in New Issue
Block a user