diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-26 21:29:43 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-26 21:30:59 +0200 |
| commit | 6eba051dcbb8c56e3e2efea946ce0380d17a7b33 (patch) | |
| tree | 3749c9cb5cbd8be4b14936978e13b889ffcc73a3 /src/lib/encode_server.cc | |
| parent | 2e0cf721530a17b0190c938b04176e0315950053 (diff) | |
Various OSX warnings fixes.
Diffstat (limited to 'src/lib/encode_server.cc')
| -rw-r--r-- | src/lib/encode_server.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/encode_server.cc b/src/lib/encode_server.cc index 61e0b09c5..c30fc8f30 100644 --- a/src/lib/encode_server.cc +++ b/src/lib/encode_server.cc @@ -239,9 +239,11 @@ EncodeServer::run () } for (int i = 0; i < _num_threads; ++i) { - boost::thread* t = _worker_threads.create_thread (bind(&EncodeServer::worker_thread, this)); #ifdef DCPOMATIC_LINUX + boost::thread* t = _worker_threads.create_thread (bind(&EncodeServer::worker_thread, this)); pthread_setname_np (t->native_handle(), "encode-server-worker"); +#else + _worker_threads.create_thread (bind(&EncodeServer::worker_thread, this)); #endif } |
