A window thread is now called "w:<title>" instead of just "<title>".

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13376 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-07-01 06:44:39 +00:00
parent 0160c6fbda
commit f598d348b1

View File

@ -10,6 +10,7 @@
* Axel Dörfler, axeld@pinc-software.de * Axel Dörfler, axeld@pinc-software.de
*/ */
#include <AppDefs.h> #include <AppDefs.h>
#include <GraphicsDefs.h> #include <GraphicsDefs.h>
#include <Message.h> #include <Message.h>
@ -139,8 +140,11 @@ ServerWindow::Run()
{ {
BAutolock locker(this); BAutolock locker(this);
char name[B_OS_NAME_LENGTH];
snprintf(name, sizeof(name), "w:%s", fTitle);
// Spawn our message-monitoring thread // Spawn our message-monitoring thread
fThread = spawn_thread(_message_thread, fTitle, B_NORMAL_PRIORITY, this); fThread = spawn_thread(_message_thread, name, B_NORMAL_PRIORITY, this);
if (fThread < B_OK) if (fThread < B_OK)
return false; return false;