mongoose/docs/c-api/util.h/mg_start_thread.md

14 lines
352 B
Markdown
Raw Normal View History

---
title: "mg_start_thread()"
decl_name: "mg_start_thread"
symbol_kind: "func"
signature: |
void *mg_start_thread(void *(*thread_func);
---
Start a new detached thread.
Arguments and semantic is the same as pthead's `pthread_create()`.
`thread_func` is a thread function, `thread_func_param` is a parameter
that is passed to the thread function.