(svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) threads. (JGR)

This commit is contained in:
frosch
2016-10-30 17:29:33 +00:00
parent dd190397d6
commit 31f046bd9b
13 changed files with 30 additions and 19 deletions

View File

@@ -687,7 +687,7 @@ void VideoDriver_SDL::MainLoop()
_draw_mutex->BeginCritical();
_draw_continue = true;
_draw_threaded = ThreadObject::New(&DrawSurfaceToScreenThread, NULL, &_draw_thread);
_draw_threaded = ThreadObject::New(&DrawSurfaceToScreenThread, NULL, &_draw_thread, "ottd:draw-sdl");
/* Free the mutex if we won't be able to use it. */
if (!_draw_threaded) {