Revision 64fde4ba src/urt_node.c
src/urt_node.c | ||
---|---|---|
69 | 69 |
void* setupparams, urt_nodeLoopCallback_t* loopcallback, void* loopparams, |
70 | 70 |
urt_nodeShutdownCallback_t* shutdowncallback, void* shutdownparams) |
71 | 71 |
{ |
72 |
urt_node_t.next = NULL;
|
|
73 |
urt_node_t.thread = thread;
|
|
74 |
urt_node_t.setupcallback = setupcallback;
|
|
75 |
urt_node_t.setupparams = setupparams;
|
|
76 |
urt_node_t.loopparams = loopparams;
|
|
77 |
urt_node_t.shutdowncallback = loopcallback;
|
|
78 |
urt_node_t.shutdownparams = loopparams;
|
|
79 |
urt_node_t.stage = 0;
|
|
72 |
node->next = NULL;
|
|
73 |
node->thread = thread;
|
|
74 |
node->setupcallback = setupcallback;
|
|
75 |
node->setupparams = setupparams;
|
|
76 |
node->loopparams = loopparams;
|
|
77 |
node->shutdowncallback = loopcallback;
|
|
78 |
node->shutdownparams = loopparams;
|
|
79 |
node->stage = 0;
|
|
80 | 80 |
// add later: urteventlistenerinit |
81 | 81 |
#if (URT_CFG_PUBSUB_PROFILING || URT_CFG_RPC_PROFILING) |
82 |
urt_node_t.loops = 0;
|
|
82 |
node->loops = 0;
|
|
83 | 83 |
#endif /* URT_CFG_PUBSUB_PROFILING || URT_CFG_RPC_PROFILING */ |
84 | 84 |
// add later: lock core,.. |
85 | 85 |
return; |
Also available in: Unified diff