linux: Remove socket member from 'Native_thread'

The only information needed per thread is whether the thread plays the
role of an 'Ipc_server' or not. We encode this information using a bool
value.
This commit is contained in:
Norman Feske
2012-07-26 19:22:55 +02:00
parent b01a1a92cc
commit 8b343d7e1a
3 changed files with 44 additions and 27 deletions

View File

@ -74,7 +74,7 @@ namespace Genode {
*/
struct Native_thread : Native_thread_id
{
int socket; /* server-entrypoint socket */
bool is_ipc_server;
/**
* Opaque pointer to additional thread-specific meta data
@ -85,7 +85,7 @@ namespace Genode {
*/
Thread_meta_data *meta_data;
Native_thread() : socket(-1), meta_data(0) { }
Native_thread() : is_ipc_server(false), meta_data(0) { }
};
inline bool operator == (Native_thread_id t1, Native_thread_id t2) {