Commit 49d75678 authored by Paul Bakker's avatar Paul Bakker
Browse files

- Support INTEGRITY OS

parent d14277d7
......@@ -243,6 +243,14 @@ unsigned long get_timer( struct hr_time *val, int reset )
return( delta );
}
#if defined(INTEGRITY)
void m_sleep( int milliseconds )
{
usleep( milliseconds * 1000 );
}
#else
static void sighandler( int signum )
{
alarmed = 1;
......@@ -265,6 +273,7 @@ void m_sleep( int milliseconds )
select( 0, NULL, NULL, NULL, &tv );
}
#endif /* INTEGRITY */
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment