diff options
Diffstat (limited to 'src/lib/job.cc')
| -rw-r--r-- | src/lib/job.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc index 61c5b3767..ccb75fa93 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -87,6 +87,9 @@ Job::start () _start_time = time (0); _sub_start_time = time (0); _thread = new boost::thread (boost::bind (&Job::run_wrapper, this)); +#ifdef DCPOMATIC_LINUX + pthread_setname_np (_thread->native_handle(), "job-wrapper"); +#endif } /** A wrapper for the ::run() method to catch exceptions */ |
