26.02.2014 Views

Getting Started with QNX Neutrino - QNX Software Systems

Getting Started with QNX Neutrino - QNX Software Systems

Getting Started with QNX Neutrino - QNX Software Systems

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Index<br />

© 2009, <strong>QNX</strong> <strong>Software</strong> <strong>Systems</strong> GmbH & Co. KG.<br />

SIGEV_SIGNAL 143–145, 182<br />

SIGEV_SIGNAL_CODE 143–145<br />

SIGEV_SIGNAL_PULSE 145<br />

SIGEV_SIGNAL_THREAD 143–145<br />

SIGEV_SIGNAL family 143<br />

SIGEV_THREAD 143, 144, 182<br />

SIGEV_UNBLOCK 143, 145, 163, 164<br />

SIGEV_UNBLOCK example 163<br />

SIGSEGV 40<br />

SIGUSR1 157<br />

thread<br />

STATE_CONDVAR 24, 63<br />

STATE_DEAD 24<br />

STATE_INTR 24, 25<br />

STATE_JOIN 24<br />

STATE_MUTEX 24<br />

STATE_NANOSLEEP 24, 25<br />

STATE_NET_REPLY 24<br />

STATE_NET_SEND 24<br />

STATE_READY 24, 77, 82, 131, 132,<br />

138, 140, 142, 169, 176, 183<br />

STATE_RECEIVE 24, 25<br />

STATE_RECV 82, 133, 145<br />

STATE_REPLY 24, 25, 120, 155<br />

STATE_RUNNING 24, 169<br />

STATE_SEM 24<br />

STATE_SEND 24, 25, 116, 120<br />

STATE_SIGSUSPEND 24<br />

STATE_SIGWAITINFO 24<br />

STATE_STACK 24<br />

STATE_STOPPED 24<br />

STATE_WAITCTX 24<br />

STATE_WAITPAGE 24<br />

STATE_WAITTHREAD 24<br />

timer<br />

TIMER_ABSTIME 147<br />

consumer<br />

and producer 60<br />

state analysis 61<br />

and producer using condvars<br />

example 63<br />

context_alloc() 71, 75, 76<br />

context_free() 71, 75<br />

context switch 19, 27<br />

conventions<br />

typographical xiii<br />

cookbook 253<br />

counter<br />

high accuracy 159<br />

high frequency 159<br />

CPU hog 138<br />

Creceive() (<strong>QNX</strong> 4) 289, 300<br />

ctime() 148<br />

D<br />

data structure See structure<br />

data type See structure<br />

data types<br />

struct _clockadjust 158<br />

struct _clockperiod<br />

members 159<br />

struct itimerspec 147<br />

struct sigevent 117, 163<br />

andSIGEV_UNBLOCK 163<br />

shortcut initialization 164<br />

struct sigevent example 163<br />

struct timespec 147<br />

DCMD_AUDIO_GET_SAMPLE_RATE 266<br />

DCMD_AUDIO_SET_SAMPLE_RATE 266<br />

deadlock<br />

defined 329<br />

<strong>with</strong> message passing 97<br />

decoupling 56<br />

via message passing 81, 85, 86<br />

delay() 140<br />

detaching interrupt handlers 177<br />

devc-pty 82<br />

devctl() 192, 294–296, 298, 332<br />

diagram<br />

big picture of timer chain 139<br />

clock jitter 140<br />

InterruptAttach() and wakeups 184<br />

InterruptAttachEvent() and wakeups 184<br />

interrupts and waking up only when<br />

required 184<br />

interrupts <strong>with</strong> unnecessary wakeups 184<br />

server/subserver 89<br />

using InterruptAttach() 183<br />

disabling interrupts 169<br />

discontinuities in time flow 158<br />

340 Index April 30, 2009

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!