rem: lock( &locks[TREE_LOCK] );
add: lock_get(tree_lock);
context: static int pike_exit(void){	/* lock the timer list */	lock( &locks[TIMER_LOCK] );	/* free the tmer list head */	shm_free(timer);	/* destroy the IP tree */	lock( &locks[TREE_LOCK] );	destroy_ip_tree(tree);	/* destroy semaphore */	destroy_semaphores(locks);	return 0;}