| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
59a16e747b |
TT#14008 add log_info_pop_until()
To safeguard against non-refcounted objects being left over in a log info piece (e.g. a string on the stack), add this new function to pop pieces from the stack until the desired one is removed. This is needed in case of a unpaired log_info_* without a matching log_info_pop. closes #1511 Change-Id: I689de14d034df779521dfdf59f923fdbf7fabc9b |
3 years ago |
|
|
6d1dfab77a |
TT#14008 convert logging context to stack
This is useful for functions which are used both from a timer and from other callers. These functions would reset the logging context at their end to free the reference held by the logging context, which would wrongly reset the logging context when the same function was called from a different code path. Using a stack with push/pop semantics makes it safe to use these functions from any code path. Additionally introduce an explicit reset function that clears the entire stack regardless of context. This reset function is called at the end of every work iteration in every worker thread, just in case not everything was popped from the stack. Change-Id: I0e2c142b95806b26473c65a882737e39d161d24d |
4 years ago |
|
|
e3ec97f858 |
TT#50652 add -Wstrict-prototypes everywhere
Change-Id: Ic5b5fcb892a8f70196478f8622d956bdea373422 |
7 years ago |
|
|
d64c888a0e |
TT#36301 transcoding unit tests
Change-Id: If48e5afe5a343b557183b6e87441f52424dd2c6a |
8 years ago |