Changeset 5371 for trunk/oscam-reader.c
- Timestamp:
- 06/11/11 14:08:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-reader.c
r5370 r5371 784 784 struct s_client * client = reader->client; 785 785 if(!client) cs_exit(1); 786 #ifndef NO_PTHREAD_CLEANUP_PUSH787 786 pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); 788 787 pthread_cleanup_push(cleanup_thread, (void *)client); 789 #endif790 788 791 789 client->thread=pthread_self(); … … 827 825 828 826 reader_main(reader); 829 #ifndef NO_PTHREAD_CLEANUP_PUSH830 827 pthread_cleanup_pop(1); 831 #else832 cs_exit(0);833 #endif834 828 return NULL; //dummy to prevent compiler error 835 829 }
Note:
See TracChangeset
for help on using the changeset viewer.