Cyber Garage Portable Runtime (CGPR) for C
_CGThread Struct Reference

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

#include <thread.h>

Data Fields

CG_LIST_STRUCT_MEMBERS bool runnableFlag
 
pthread_t pThread
 
void(* action )(struct _CGThread *)
 
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(* _CGThread::action)(struct _CGThread *)

Thread's worker function

◆ pThread

pthread_t _CGThread::pThread

The POSIX thread handle

◆ runnableFlag

CG_LIST_STRUCT_MEMBERS bool _CGThread::runnableFlag

Indicates whether this thread is ready to run

◆ userData

void * _CGThread::userData

Arbitrary data pointer


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