mg_start_thread.md 355 Bytes
Newer Older
1 2 3 4 5 6 7 8
---
title: "mg_start_thread()"
decl_name: "mg_start_thread"
symbol_kind: "func"
signature: |
  void *mg_start_thread(void *(*thread_func);
---

Evelyn's avatar
Evelyn committed
9 10
Starts a new detached thread.
Arguments and semantics are the same as pthead's `pthread_create()`.
11 12 13
`thread_func` is a thread function, `thread_func_param` is a parameter
that is passed to the thread function.