-
- Downloads
taskprocessor: Warn on unused result from pushing task.
Add attribute_warn_unused_result to ast_taskprocessor_push, ast_taskprocessor_push_local and ast_threadpool_push. This will help ensure we perform the necessary cleanup upon failure. Change-Id: I7e4079bd7b21cfe52fb431ea79e41314520c3f6d
Showing
- apps/app_confbridge.c 7 additions, 5 deletionsapps/app_confbridge.c
- include/asterisk/taskprocessor.h 4 additions, 2 deletionsinclude/asterisk/taskprocessor.h
- include/asterisk/threadpool.h 2 additions, 1 deletioninclude/asterisk/threadpool.h
- main/stasis.c 4 additions, 1 deletionmain/stasis.c
- main/taskprocessor.c 5 additions, 1 deletionmain/taskprocessor.c
- main/threadpool.c 3 additions, 1 deletionmain/threadpool.c
- tests/test_taskprocessor.c 23 additions, 5 deletionstests/test_taskprocessor.c
- tests/test_threadpool.c 113 additions, 41 deletionstests/test_threadpool.c
Loading
Please register or sign in to comment