示例#1
0
/* Here we launch the worker threads to attend clients */
void mk_server_launch_workers()
{
    int i;

    /* Launch workers */
    for (i = 0; i < config->workers; i++) {
        mk_sched_launch_thread(config->worker_capacity);
    }
}
示例#2
0
/* Here we launch the worker threads to attend clients */
void mk_server_launch_workers()
{
    int i;
    pthread_t skip;

    /* Launch workers */
    for (i = 0; i < config->workers; i++) {
        mk_sched_launch_thread(config->worker_capacity, &skip, NULL);
    }
}