mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-05 02:49:00 +08:00
14 lines
355 B
Markdown
14 lines
355 B
Markdown
|
---
|
||
|
title: "mg_start_thread()"
|
||
|
decl_name: "mg_start_thread"
|
||
|
symbol_kind: "func"
|
||
|
signature: |
|
||
|
void *mg_start_thread(void *(*thread_func);
|
||
|
---
|
||
|
|
||
|
Starts a new detached thread.
|
||
|
Arguments and semantics are 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.
|
||
|
|