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_windows.cc | |
| parent | 6a5c7209770aa2c20d702b6f31d877ad2864ece7 (diff) | |
Add get_process_id()
Diffstat (limited to 'src/lib/cross_windows.cc')
| -rw-r--r-- | src/lib/cross_windows.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/cross_windows.cc b/src/lib/cross_windows.cc index 2070459de..ad5a88664 100644 --- a/src/lib/cross_windows.cc +++ b/src/lib/cross_windows.cc @@ -629,3 +629,9 @@ disk_write_finished () } +string +dcpomatic::get_process_id () +{ + return dcp::raw_convert<string>(GetCurrentProcessId()); +} + |
