Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2123


Ignore:
Timestamp:
Nov 2, 2008, 4:57:02 PM (16 years ago)
Author:
scheusso
Message:

had to change the call of usleep in order to prevent segfaults on unix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/util/Sleep.h

    r2111 r2123  
    6767    inline void usleep(unsigned long usec)
    6868    {
    69         usleep(usec);
     69        ::usleep(usec);
    7070    }
    7171    inline void msleep(unsigned long msec)
    7272    {
    73         usleep(msec * 1000);
     73        ::usleep(msec * 1000);
    7474    }
    7575    inline void sleep(unsigned long sec)
    7676    {
    77         usleep(sec * 1000000);
     77        ::usleep(sec * 1000000);
    7878    }
    7979}
Note: See TracChangeset for help on using the changeset viewer.