Changeset 45f7bf in git for Singular/iparith.cc


Ignore:
Timestamp:
May 24, 1998, 5:50:29 PM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
6149f4fc52e4155e098c88eb317a7abd5b8d6541
Parents:
3bb3e6aa8f77d610b72ac96bb897600802300029
Message:
* status with sleep in microseconds
* groebner with 2 args


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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r3bb3e6a r45f7bf  
    43194319    return TRUE;
    43204320  jjSTATUS3(res, v, v->next, v->next->next);
    4321 #ifdef HAVE_SLEEP
     4321#if defined(HAVE_USLEEP)
    43224322  if (((int) res->data) == 0)
    43234323  {
    4324     sleep((int) v->next->next->next->Data());
    4325     jjSTATUS3(res, v, v->next, v->next->next);
     4324    int i_s = (int) v->next->next->next->Data();
     4325    if (i_s > 0)
     4326    {
     4327      usleep((int) v->next->next->next->Data());
     4328      jjSTATUS3(res, v, v->next, v->next->next);
     4329    }
     4330  }
     4331#elif defined(HAVE_SLEEP)
     4332  if (((int) res->data) == 0)
     4333  {
     4334    int i_s = (int) v->next->next->next->Data();
     4335    if (i_s > 0)
     4336    {
     4337      sleep((is - 1)/1000000 + 1);
     4338      jjSTATUS3(res, v, v->next, v->next->next);
     4339    }
    43264340  }
    43274341#endif
Note: See TracChangeset for help on using the changeset viewer.