mUPnP for C
_mUpnpThread Struct Reference

The generic wrapper struct for mUPnP's threads. More...

#include <thread.h>

Data Fields

MUPNP_LIST_STRUCT_MEMBERS bool runnableFlag
 
pthread_t pThread
 
void(* action )(struct _mUpnpThread *)
 
void * userData
 

Detailed Description

The generic wrapper struct for mUPnP's threads.

This wrapper has been created to enable 100% code compatibility between different platforms (Linux, Win32 etc..)

Field Documentation

◆ action

void(* _mUpnpThread::action) (struct _mUpnpThread *)

Thread's worker function

◆ pThread

pthread_t _mUpnpThread::pThread

The POSIX thread handle

◆ runnableFlag

MUPNP_LIST_STRUCT_MEMBERS bool _mUpnpThread::runnableFlag

Indicates whether this thread is ready to run

◆ userData

void* _mUpnpThread::userData

Arbitrary data pointer


The documentation for this struct was generated from the following file: