asst1-Synchronization/kern/asst1/client_server_tester.c
static void
start_server_threads()
{
        int i;
        int result;

        for(i = 0; i < NUM_SERVERS; i++) {
                processed[i]=0;
                result = thread_fork("server thread", NULL,
                                     server_thread, NULL, i);
                if(result) {
                        panic("start_server_threads: couldn't fork (%s)\n",
                              strerror(result));
                }
        }
}
/* Create a group of threads to serve requests. */
Create a group of threads to serve requests.
Create a group of threads to serve requests .
static void
start_server_threads()
{
        int i;
        int result;
        for(i = 0; i < NUM_SERVERS; i++) {
                processed[i]=0;
                result = thread_fork("server thread", NULL,
                                     server_thread, NULL, i);
                if(result) {
                        panic("start_server_threads: couldn't fork (%s)\n",
                              strerror(result));
                }
        }
}
static void start_server_threads ( ) { int i ; int result ; for ( i = 0 ; i < NUM_SERVERS ; i ++ ) { processed [ i ] = 0 ; result = thread_fork ( " " , NULL , server_thread , NULL , i ) ; if ( result ) { panic ( " \n " , strerror ( result ) ) ; } } }
Create a group of threads to serve requests.
Create a group of threads to serve requests .