_CgThread Struct Reference

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

#include <cthread.h>

Data Fields

BOOL headFlag
struct _CgThreadprev
struct _CgThreadnext
BOOL runnableFlag
pthread_t pThread
void(* action )(struct _CgThread *)
void * userData

Detailed Description

The generic wrapper struct for CyberLinkC's threads.

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


Field Documentation

void(* _CgThread::action)(struct _CgThread *)

Thread's worker function

struct _CgThread* _CgThread::next [read]
struct _CgThread* _CgThread::prev [read]
pthread_t _CgThread::pThread

The POSIX thread handle

Indicates whether this thread is ready to run

Arbitrary data pointer


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

Generated on Tue Feb 23 23:14:24 2010 for CyberLink for C by  doxygen 1.6.1