Changeset cf29d0c in git


Ignore:
Timestamp:
Mar 8, 2011, 4:04:07 PM (12 years ago)
Author:
Andreas Steenpaß <steenpas@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
ea57e3f6d984b6d884a87f764e8f8077c1704db9
Parents:
7a816862d7cbbe2bd06fca7ffee72d0c594805dc
Message:
docu for waitall and waitfirst updated

git-svn-id: file:///usr/local/Singular/svn/trunk@13946 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r7a81686 rcf29d0c  
    32003200// input: u: a list with links of type
    32013201//           ssi-fork, ssi-tcp, MPtcp-fork or MPtcp-launch
    3202 //        v: timeout for select in seconds
     3202//        v: timeout for select in milliseconds
    32033203//           or 0 for polling
    32043204// returns: ERROR (via Werror): timeout negative
     
    32193219// input: u: a list with links of type
    32203220//           ssi-fork, ssi-tcp, MPtcp-fork or MPtcp-launch
    3221 //        v: timeout for select in seconds
     3221//        v: timeout for select in milliseconds
    32223222//           or 0 for polling
    32233223// returns: ERROR (via Werror): timeout negative
     
    32303230    WerrorS("negative timeout"); return TRUE;
    32313231  }
    3232   int t = getRTimer()/timer_resolution;
     3232  int t = 1000*getRTimer()/timer_resolution;
    32333233  int i;
    32343234  int ret = 1;
     
    32413241      Lforks->m[i-1].rtyp=DEF_CMD;
    32423242      Lforks->m[i-1].data=NULL;
    3243       timeout = si_max(0,timeout - getRTimer()/timer_resolution + t);
     3243      timeout = si_max(0,timeout - 1000*getRTimer()/timer_resolution + t);
    32443244    }
    32453245    else { ret = 0; break; /* terminate the for loop */ }
Note: See TracChangeset for help on using the changeset viewer.