 /*
  * UAE - The Un*x Amiga Emulator
  *
  * Generic thread support doesn't exist.
  *
  * Copyright 1997 Bernd Schmidt
  */

#undef SUPPORT_PENGUINS
#undef SUPPORT_THREADS

typedef int uae_sem_t;
#define uae_sem_init(a,b,c)
#define uae_sem_destroy(a)
#define uae_sem_post(a)
#define uae_sem_wait(a)
#define uae_sem_trywait(a) 0
#define uae_sem_getvalue(a,b) 0

typedef int smp_comm_pipe;
#define write_comm_pipe_int(a,b,c)
#define read_comm_pipe_int_blocking(a) 0
#define write_comm_pipe_pvoid(a,b,c)
#define read_comm_pipe_pvoid_blocking(a) 0
#define init_comm_pipe(a,b,c)
#define comm_pipe_has_data(a) 0

typedef int uae_thread_id;

STATIC_INLINE void sleep_millis (int ms)
{
    usleep (ms*1000);
}

STATIC_INLINE void sleep_millis_busy (int ms)
{
   usleep (ms*1000);
}
