title: Interrupted system call
body: <p>I have more then three timer running from main as given below, and I have defined one message queue in main section. My timer's expiration time in 10(max).
  Why, when timer expires "msgrcv" gives error like "Interrupted system call"?</p>
  
  <pre><code>    timer_t timer1 = create_timer(TT_SIGUSR1);
      install_sighandler(TT_SIGUSR1, signal_handler);
      set_timer(timer1, TIME_INTERVAL_1);
       -
        -
         -
  
      flag = IPC_CREAT | 0666;
      key = 1234;
  
      msgqid = msgget(key,flag);
      printf("msgqid = %d\n",msgqid);
  
      while (1)
      {
              msgsz = msgrcv(msgqid, &amp;sendMsg, sizeof(sendMsg), 0,0);
              perror("prashant");
  
              sleep(1);
      }
      return 0;
  </code></pre>