diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-06 22:59:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-08 11:19:19 +0100 |
| commit | 152197adf5b060602ecdd99e6f272c4e8b2b410e (patch) | |
| tree | 153cd87897b1d172d2ed3132524ff7c22bb5acc0 /src/lib/cross_linux.cc | |
| parent | 6a5c7209770aa2c20d702b6f31d877ad2864ece7 (diff) | |
Add get_process_id()
Diffstat (limited to 'src/lib/cross_linux.cc')
| -rw-r--r-- | src/lib/cross_linux.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc index 262ba59ce..27822a1d3 100644 --- a/src/lib/cross_linux.cc +++ b/src/lib/cross_linux.cc @@ -409,3 +409,8 @@ disk_write_finished () } +string +dcpomatic::get_process_id () +{ + return dcp::raw_convert<string>(getpid()); +} |
