Lines Matching refs:servers
157 memset(ap_scoreboard_image->servers[child_slot], 0, sizeof(worker_score) * HARD_THREAD_LIMIT);
172 // ap_scoreboard_image->servers[child_slot][c].tid = _beginthread(worker_main, NULL, 128*1024, (void *)c);
260 if (ap_scoreboard_image->servers[child_slot][c].status != SERVER_DEAD) {
269 if (ap_scoreboard_image->servers[child_slot][c].status != SERVER_DEAD) {
280 if (ap_scoreboard_image->servers[child_slot][c].status != SERVER_DEAD) {
281 DosKillThread(ap_scoreboard_image->servers[child_slot][c].tid);
298 if (ap_scoreboard_image->servers[child_slot][thread_slot].status == SERVER_DEAD) {
299 ap_scoreboard_image->servers[child_slot][thread_slot].status = SERVER_STARTING;
300 ap_scoreboard_image->servers[child_slot][thread_slot].tid =
325 if (ap_scoreboard_image->servers[child_slot][c].tid == _gettid()) {
326 ap_scoreboard_image->servers[child_slot][c].status = SERVER_DEAD;
375 ap_scoreboard_image->servers[child_slot][thread_slot].tid = 0;
434 num_idle += ap_scoreboard_image->servers[child_slot][threadnum].status == SERVER_READY;