Revision 1074 branches/simulator/projects/simulator/libsim/libsim.c

View differences:

libsim.c
14 14

  
15 15
void dragonfly_init(int config)
16 16
{
17
  struct itimerval iv;
18
  int ret;
19

  
20 17
  shared_state = shmat(atoi(getenv("memory_id")), NULL, 0);
21 18

  
22 19
  if(shared_state < 0)
......
37 34
{
38 35
     if(raise(SIGTSTP)<0)
39 36
          fprintf(stderr, "ERROR: could not kill self\n");
40

  
41 37
}
38

  

Also available in: Unified diff