BFLibC 0.1
C Library
Loading...
Searching...
No Matches
_BFThreadAsyncID Struct Reference

Data Fields

pthread_mutex_t m
 
int error
 
pthread_t p
 
pthread_attr_t attr
 
unsigned char flags
 
BFLock waitlock
 
int retaincount
 

Detailed Description

async id

Field Documentation

◆ attr

pthread_attr_t _BFThreadAsyncID::attr

holds attributes for p

◆ error

int _BFThreadAsyncID::error

holds any error code that gets passed during creation of this object

◆ flags

unsigned char _BFThreadAsyncID::flags

||||||isCanceled|releaseQueued|isRunning|

isRunning: true if callback has not returned releaseQueued: true if own has called destroy while we were running the callback isCanceled: true if owner called BFThreadAsyncCancel

◆ m

pthread_mutex_t _BFThreadAsyncID::m

mutex for accessing our members

◆ p

pthread_t _BFThreadAsyncID::p

main pthread object

◆ retaincount

int _BFThreadAsyncID::retaincount

nonzero

◆ waitlock

BFLock _BFThreadAsyncID::waitlock

used by user if they want to wait for thread to finish

this gets released when callback is returned in _BFThreadStartRoutine


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