Mercurial > pt1.oyama
comparison recpt1/recpt1.c @ 17:52c7c7c64ba6
commented out debug messages.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 25 Feb 2009 03:07:50 +0900 |
parents | ecb85bde67b1 |
children | 84ff6ef710ea |
comparison
equal
deleted
inserted
replaced
16:ecb85bde67b1 | 17:52c7c7c64ba6 |
---|---|
723 } | 723 } |
724 close(tfd); | 724 close(tfd); |
725 | 725 |
726 /* wait reader thread */ | 726 /* wait reader thread */ |
727 pthread_join(dequeue_thread, NULL); | 727 pthread_join(dequeue_thread, NULL); |
728 fprintf(stderr, "dequeue_thread joined\n"); | 728 // fprintf(stderr, "dequeue_thread joined\n"); |
729 | 729 |
730 pthread_join(signal_thread, NULL); | 730 pthread_join(signal_thread, NULL); |
731 fprintf(stderr, "signal_thread joined\n"); | 731 // fprintf(stderr, "signal_thread joined\n"); |
732 | 732 |
733 /* relase queue */ | 733 /* relase queue */ |
734 destroy_queue(p_queue); | 734 destroy_queue(p_queue); |
735 | 735 |
736 /* free socket data */ | 736 /* free socket data */ |
739 /* release decoder */ | 739 /* release decoder */ |
740 if(use_b25) { | 740 if(use_b25) { |
741 b25_shutdown(dec); | 741 b25_shutdown(dec); |
742 } | 742 } |
743 | 743 |
744 fprintf(stderr, "leaving main\n"); | 744 // fprintf(stderr, "leaving main\n"); |
745 | 745 |
746 return 0; | 746 return 0; |
747 } | 747 } |