1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Docs/Po/Thread/Po_thread_fn

Po_thread_fn

typedef int (Po_THREADCALL * Po_thread_fn)(void *);

Pointer to a thread execution function.

Initialization

It's a pointer; initialize with NULL.

Notes

Thread execution functions should be declared something like this:

int Po_THREADCALL MyThread(void * restrict param)
{
   //...
}

Thread execution functions must be declared with the Po_THREADCALL calling convention.

Back