Database/server.c
void client_control_release() {
    // TODO: Allow clients that are blocked within client_control_wait()
    // to continue. See the client_control_t struct.
	pthread_mutex_lock (&(cct.go_mutex));
	cct.stopped = 0;
	pthread_cond_signal (&(cct.go));
	pthread_mutex_unlock (&(cct.go_mutex));
}
// Called by main thread to resume client threads
Called by main thread to resume client threads
Called by main thread to resume client threads
void client_control_release() {
	pthread_mutex_lock (&(cct.go_mutex));
	cct.stopped = 0;
	pthread_cond_signal (&(cct.go));
	pthread_mutex_unlock (&(cct.go_mutex));
}
void client_control_release ( ) { pthread_mutex_lock ( & ( cct . go_mutex ) ) ; cct . stopped = 0 ; pthread_cond_signal ( & ( cct . go ) ) ; pthread_mutex_unlock ( & ( cct . go_mutex ) ) ; }
Called by main thread to resume client threads
Called by main thread to resume client threads
// TODO: Allow clients that are blocked within client_control_wait() // to continue. See the client_control_t struct.