Added hack for letting nodes signal that they are 'done'. The simulator exits when all nodes are done. Fixed random initialization so that it is different for all nodes.
This commit is contained in:
parent
0ed1d401d5
commit
c67ce1c1b0
9 changed files with 89 additions and 21 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: node.h,v 1.2 2006/09/26 22:10:12 adamdunkels Exp $
|
||||
* $Id: node.h,v 1.3 2006/10/23 09:01:06 adamdunkels Exp $
|
||||
*/
|
||||
#ifndef __NODE_H__
|
||||
#define __NODE_H__
|
||||
|
@ -54,4 +54,5 @@ int node_y(void);
|
|||
|
||||
void node_log(const char *fmt, ...);
|
||||
|
||||
|
||||
#endif /* __NODE_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue