P_thread_create 3porty 2011-04-13 libporty manual

NAME

P_thread_create

SYNPOSIS

#include <libporty/threads/threads.h>

typedef int (*P_thread_entry_t)(void *arg );int P_thread_create (P_thread_entry_t entry , void *arg );-lporty_utilP_thread_create creates a new thread and calls entry point function entry . The thread is active as long as the function doesn't return normally. A single argument arg is passed to the thread.Returns 0 on success.

P_thread_create 3porty 2011-04-13 libporty manual