Delete unused files after process shutdown 32/289232/4
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 3 Mar 2023 04:49:55 +0000 (04:49 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Sun, 5 Mar 2023 23:17:51 +0000 (23:17 +0000)
commit7c182aa6d7f981fc3894fb0c39618e6beb27de3f
treeac6620c95de7409103dd85e0af7f69bf233e268f
parent27662bc8d8303f5d2e32f3610bf2d494cddce66c
Delete unused files after process shutdown

After the process is terminated, the launchpad deletes unnecessary files.
To debug & profile dotnet applications, the coreclr creates "clr-debug-pipe-"
and "dotnet-diagnostic-" files. The launchpad deletes the files if the files
exists. To avoid blocking the main thread of the launchpad, this patch
creates a new worker thread that is "RecycleBin+".

Change-Id: I68e02359ed2ec79801b46da2f45ef54b5c35f4b9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/launchpad_signal.cc