mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
9efd519c81
Ensures that all unused threads are exited before the atexit() handlers run. This prevents a race with any thread that used the OpenSSL library between it's thread cleanup routine and it's atexit() cleanup routine which can cause a SIGSEGV. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/812> |
||
---|---|---|
.. | ||
libcompat | ||
check.c | ||
check.h.in | ||
check_error.c | ||
check_error.h | ||
check_impl.h | ||
check_list.c | ||
check_list.h | ||
check_log.c | ||
check_log.h | ||
check_msg.c | ||
check_msg.h | ||
check_pack.c | ||
check_pack.h | ||
check_print.c | ||
check_print.h | ||
check_run.c | ||
check_str.c | ||
check_str.h | ||
meson.build | ||
README.txt |
This is a copy of libcheck, a unit testing framework for C: https://github.com/libcheck/check/ The last update was on 9th December, with the following commit: ba42e7de3d62ea9d3699bf0709554b3e47a8f09e The check*.c files in this directory are the same as those in the src/ directory in upstream. The files in the libcompat/ directory are the same as those in the lib/ directory upstream. lib/snprintf.c was omitted since we don't run on any platforms that don't provide snprintf and the upstream implementation is ~2000 lines. lib/malloc.c and lib/realloc.c were omitted since we were doing fine without them and it does a #define malloc rpl_malloc on Android because the malloc shipped with Bionic is not GNU-compliant. rpl_malloc is provided by libcheck, but not everything in gstreamer links against libcheck. We also don't care about this. Steps to sync with upstream: 1. Clone libcheck from the above git repository 2. Copy files into this directory 3. Run GNU indent on all the code 4. Fix internal #includes 5. Manually inspect the diff 6. Update configure.ac, m4/check-checks.m4, meson.build files, etc 6. Run make check, then commit and push Any changes made to files in this directory must be submitted upstream via a pull request: https://github.com/libcheck/check/compare This involves creating an account on GitHub, forking libcheck/check there, pushing the changes into a branch, and then submitting it as a pull request.