common: move utils_create_lock_file to its own file
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 12 Dec 2023 21:13:59 +0000 (16:13 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 21 Dec 2023 16:31:07 +0000 (11:31 -0500)
commit513792873b851baef066648b41f9cbfe978063fc
tree5234dc325bad658dce8556da65dd2b8d24002a2f
parentbecd029c4fda2dc6478751f4d45fa6b68a1d6120
common: move utils_create_lock_file to its own file

A follow-up change introduces platform-specific implementations of this
functions. Moving the function to a separate file makes it possible to
add other implementations without polluting utils.cpp with more
platform-specific code.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ibd566d8710380fe378a8f3df9454e21e83655b62
src/bin/lttng-sessiond/main.cpp
src/common/Makefile.am
src/common/lockfile.cpp [new file with mode: 0644]
src/common/lockfile.hpp [new file with mode: 0644]
src/common/utils.cpp
src/common/utils.hpp
This page took 0.025194 seconds and 4 git commands to generate.