Changeset 8265677 in git


Ignore:
Timestamp:
Nov 20, 2013, 4:28:07 PM (9 years ago)
Author:
Andreas Steenpass <steenpass@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5bec8f88c9ee2573d328cf7c3aff2bcb301d2395')
Children:
9aa61ab499a2001f8d1e5112b9908742b2f69659
Parents:
3fd3f31590cf8b9f431551f3e01e9e7d80ab6bcf
git-author:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-11-20 16:28:07+01:00
git-committer:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2013-11-20 16:30:20+01:00
Message:
chg: adjust timeouts in ssiClose()
(cherry picked from commit be2fdf57a6b3208d836335e6863aaa10834d6629)

Signed-off-by: Andreas Steenpass <steenpass@mathematik.uni-kl.de>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/links/ssiLink.cc

    r3fd3f3 r8265677  
    11391139        struct timespec t;
    11401140        t.tv_sec=0;
    1141         t.tv_nsec=50000000; // <=50 ms
     1141        t.tv_nsec=100000000; // <=100 ms
    11421142        int r=si_nanosleep(&t,NULL);
    11431143        if((r==0) && (si_waitpid(d->pid,NULL,WNOHANG)==0))
    11441144        {
    11451145          kill(d->pid,15);
    1146           t.tv_sec=0;
    1147           t.tv_nsec=10000000; // <=10 ms
     1146          t.tv_sec=5; // <=5s
     1147          t.tv_nsec=0;
    11481148          r=si_nanosleep(&t,NULL);
    11491149          if((r==0)&&(si_waitpid(d->pid,NULL,WNOHANG)==0))
Note: See TracChangeset for help on using the changeset viewer.