diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-10-08 01:29:12 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-10-08 01:29:12 -0700 |
commit | a031634bd64c7f30c4ace5ca06a5a47600b42f47 (patch) | |
tree | 919e13ed1ba2e6443fe952288085576322748405 /src/rmd_threads.c | |
parent | bd53002a2bf51d48992613601719d180fed09975 (diff) |
*: more cosmetic formatting cleanups
Making things a bit more consistent
Diffstat (limited to 'src/rmd_threads.c')
-rw-r--r-- | src/rmd_threads.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rmd_threads.c b/src/rmd_threads.c index 7facba0..40fe94a 100644 --- a/src/rmd_threads.c +++ b/src/rmd_threads.c @@ -47,7 +47,8 @@ #include <time.h> #include <unistd.h> -void rmdThreads(ProgData *pdata) { +void rmdThreads(ProgData *pdata) +{ pthread_t image_capture_t, image_encode_t, image_cache_t, @@ -170,6 +171,7 @@ void rmdThreads(ProgData *pdata) { pthread_join(timer_t,NULL); } -void rmdThreadsSetName(const char *name) { +void rmdThreadsSetName(const char *name) +{ prctl(PR_SET_NAME, (unsigned long)name, 0, 0, 0); } |