Lines Matching defs:Worker
106 mutable struct Worker { struct
107 const GGLInterface * iface;
108 unsigned startY, endY, varyingCount;
109 VertexOutput bV, cV, bDx, cDx;
110 int width, height;
111 bool assignedWork; // only used by main; worker uses assignCond & quit
112 bool quit;
114 pthread_cond_t assignCond;
115 pthread_mutex_t assignLock; // held by worker execpt for during cond_wait assign
116 pthread_cond_t finishCond;
117 pthread_mutex_t finishLock; // held by main except for during cond_wait finish
118 pthread_t thread;
120 Worker() : assignedWork(false), quit(false), thread(0) in Worker() function
129 ~Worker() in ~Worker()