committed by
Christian Helmuth
parent
afdabe9df8
commit
ee5d213c1f
@@ -403,7 +403,7 @@ namespace Genode {
|
||||
*
|
||||
* \param name thread name (for debugging)
|
||||
*/
|
||||
explicit Thread(const char *name = "<noname>")
|
||||
explicit Thread(const char *name)
|
||||
: Thread_base(name, STACK_SIZE) { }
|
||||
};
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
|
||||
/* construct the thread objects */
|
||||
for (unsigned i = 0; i < cpus.total(); i++)
|
||||
threads[i] = new (env()->heap())
|
||||
Spinning_thread(cpus.location_of_index(i), "thread");
|
||||
Spinning_thread(cpus.location_of_index(i), "spinning_thread");
|
||||
|
||||
/* wait until all threads are up and running */
|
||||
for (unsigned i = 0; i < cpus.total(); i++)
|
||||
|
||||
@@ -156,7 +156,7 @@ struct Destruct_thread : Genode::Thread<4096>
|
||||
PLOG("thread: destruction completed, job done");
|
||||
}
|
||||
|
||||
Destruct_thread(Object *obj) : obj(obj) { }
|
||||
Destruct_thread(Object *obj) : Thread("object_destructor"), obj(obj) { }
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -50,6 +50,7 @@ class Local_fault_handler : public Thread<4096>
|
||||
|
||||
Local_fault_handler(Rm_session *rm_session, Signal_receiver *receiver)
|
||||
:
|
||||
Thread("local_fault_handler"),
|
||||
_rm_session(rm_session), _receiver(receiver)
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user