diff options
author | David Robillard <d@drobilla.net> | 2007-05-04 18:56:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-05-04 18:56:57 +0000 |
commit | d3a24215b3c8a1bd9878cdd19442601ad0f63431 (patch) | |
tree | e9e18d62292b7774ea18ea655741cd6fc769850d /src/libs | |
parent | 6fb6e7c581b38a5eb898f2aa3eb6dc5ddb25df1b (diff) | |
download | ingen-d3a24215b3c8a1bd9878cdd19442601ad0f63431.tar.gz ingen-d3a24215b3c8a1bd9878cdd19442601ad0f63431.tar.bz2 ingen-d3a24215b3c8a1bd9878cdd19442601ad0f63431.zip |
Set Loader thread name (GUI) for decent console output.
git-svn-id: http://svn.drobilla.net/lad/ingen@503 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/gui/ThreadedLoader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/gui/ThreadedLoader.cpp b/src/libs/gui/ThreadedLoader.cpp index 120d9b6c..75850a5f 100644 --- a/src/libs/gui/ThreadedLoader.cpp +++ b/src/libs/gui/ThreadedLoader.cpp @@ -34,6 +34,8 @@ ThreadedLoader::ThreadedLoader(SharedPtr<EngineInterface> engine) , _deprecated_loader(engine) , _serializer(*App::instance().rdf_world()) { + set_name("Loader"); + // FIXME: rework this so the thread is only present when it's doing something (save mem) if (_serialisation_module) { Loader* (*new_loader)() = NULL; |