obsolete/locks.c
void see_locks( JIMP_thread_s *own_thread ) {

	JIMP_lock *l;
	l = (JIMP_lock *)&(own_thread->lock);
	
	printf("----- LOCKS DUMP -----\n");
	while( l ){
	  printf("| lock=%x, lock->next=%x, lock->obj_ref=%d, lock->n_times_locked=%d |\n", l, l->next, l->obj_ref, l->n_times_locked  );
	  l = l->next;
	}
}
/* View all locks for this thread */
View all locks for this thread
View all locks for this thread
void see_locks( JIMP_thread_s *own_thread ) {
	JIMP_lock *l;
	l = (JIMP_lock *)&(own_thread->lock);
	printf("----- LOCKS DUMP -----\n");
	while( l ){
	  printf("| lock=%x, lock->next=%x, lock->obj_ref=%d, lock->n_times_locked=%d |\n", l, l->next, l->obj_ref, l->n_times_locked  );
	  l = l->next;
	}
}
void see_locks ( JIMP_thread_s * own_thread ) { JIMP_lock * l ; l = ( JIMP_lock * ) & ( own_thread -> lock ) ; printf ( " \n " ) ; while ( l ) { printf ( " \n " , l , l -> next , l -> obj_ref , l -> n_times_locked ) ; l = l -> next ; } }
View all locks for this thread
View all locks for this thread