Add option --name for naming the process
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 29 Aug 2017 09:22:49 +0000 (11:22 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 29 Aug 2017 09:22:49 +0000 (11:22 +0200)
commit9bc48026a93e8330a2bd2795e78d5951c16b7d33
treee4a182f2ed5c43ebc2007f18fd813e21323e7184
parent33c28e126df60d8f7c416e762314d9da79f53448
Add option --name for naming the process

This option allows to set the command line
and the thread name of the main process.

The value can contain spaces that will be
replaced by nulls.

Change-Id: I895270a24663467b16fb3cd8fc3218b7b003b6bb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/CMakeLists.txt
src/afb-config.c
src/afb-config.h
src/main.c
src/process-name.c [new file with mode: 0644]
src/process-name.h [new file with mode: 0644]