Lines Matching defs:xTask
34109 void *(*xTask)(void*); /* The thread routine */
34116 void *(*xTask)(void*), /* Routine to run in a separate thread */
34117 void *pIn /* Argument passed into xTask() */
34123 assert( xTask!=0 );
34131 p->xTask = xTask;
34140 rc = pthread_create(&p->tid, 0, xTask, pIn);
34144 p->pOut = xTask(pIn);
34180 void *(*xTask)(void*); /* The routine to run as a thread */
34181 void *pIn; /* Argument to xTask */
34182 void *pResult; /* Result of xTask */
34201 assert( p->xTask!=0 );
34202 p->pResult = p->xTask(p->pIn);
34211 void *(*xTask)(void*), /* Routine to run in a separate thread */
34212 void *pIn /* Argument passed into xTask() */
34217 assert( xTask!=0 );
34229 p->xTask = xTask;
34236 if( p->xTask==0 ){
34238 p->pResult = xTask(pIn);
34253 if( p->xTask==0 ){
34283 void *(*xTask)(void*); /* The routine to run as a thread */
34284 void *pIn; /* Argument to xTask */
34285 void *pResult; /* Result of xTask */
34291 void *(*xTask)(void*), /* Routine to run in a separate thread */
34292 void *pIn /* Argument passed into xTask() */
34297 assert( xTask!=0 );
34302 p->xTask = xTask;
34305 p->xTask = 0;
34306 p->pResult = xTask(pIn);
34317 if( p->xTask ){
34318 *ppOut = p->xTask(p->pIn);
103933 ** Launch a background thread to run xTask(pIn).
103937 void *(*xTask)(void*), /* Routine to run in a separate thread */
103938 void *pIn /* Argument passed into xTask() */
103941 return sqlite3ThreadCreate(&pTask->pThread, xTask, pIn);