Changeset 5371 for trunk/module-dvbapi.c
- Timestamp:
- 06/11/11 14:08:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-dvbapi.c
r5344 r5371 1608 1608 client->thread=pthread_self(); 1609 1609 pthread_setspecific(getclient, cli); 1610 #ifndef NO_PTHREAD_CLEANUP_PUSH1611 1610 pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); 1612 1611 pthread_cleanup_push(cleanup_thread, (void *) client); 1613 #endif1614 1612 1615 1613 dvbapi_client=cli; … … 1789 1787 } 1790 1788 } 1791 #ifndef NO_PTHREAD_CLEANUP_PUSH1792 1789 pthread_cleanup_pop(1); 1793 #else1794 cs_exit(0);1795 #endif1796 1790 return NULL; 1797 1791 } … … 2599 2593 pthread_setspecific(getclient, cli); 2600 2594 dvbapi_client=cli; 2601 #ifndef NO_PTHREAD_CLEANUP_PUSH2602 2595 pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); 2603 2596 pthread_cleanup_push(cleanup_thread, (void *) client); 2604 #endif2605 2597 2606 2598 struct s_auth *account; … … 2713 2705 } 2714 2706 cs_log("openxcas: invalid message"); 2715 #ifndef NO_PTHREAD_CLEANUP_PUSH2716 2707 pthread_cleanup_pop(1); 2717 #else2718 cs_exit(0);2719 #endif2720 2708 return NULL; 2721 2709 }
Note:
See TracChangeset
for help on using the changeset viewer.