mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 23:28:29 +00:00
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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user