obsolete/thread.c
int __notify_all_threads_for_obj( JIMP_obj obj ) {

	JIMP_wait_queue *w = (JIMP_wait_queue*)&(heap[obj].vm_t->wq);
	while( w ){
	  if( ( w->th > 0 ) && ( w->th_obj > 0 ) )pthread_kill( w->th, THREAD_CONT_SIG );
	  w = w->next;
	}
}
/* notify all threads which waiting for obj  */
notify all threads which waiting for obj
notify all threads which waiting for obj
int __notify_all_threads_for_obj( JIMP_obj obj ) {
	JIMP_wait_queue *w = (JIMP_wait_queue*)&(heap[obj].vm_t->wq);
	while( w ){
	  if( ( w->th > 0 ) && ( w->th_obj > 0 ) )pthread_kill( w->th, THREAD_CONT_SIG );
	  w = w->next;
	}
}
int __notify_all_threads_for_obj ( JIMP_obj obj ) { JIMP_wait_queue * w = ( JIMP_wait_queue * ) & ( heap [ obj ] . vm_t -> wq ) ; while ( w ) { if ( ( w -> th > 0 ) && ( w -> th_obj > 0 ) ) pthread_kill ( w -> th , THREAD_CONT_SIG ) ; w = w -> next ; } }
notify all threads which waiting for obj
notify all threads which waiting for obj