/* * (C) Copyright 1992, ..., 2007 the "DOSEMU-Development-Team". * * for details see file COPYING.DOSEMU in the DOSEMU distribution */ #ifndef COOPTH_H #define COOPTH_H typedef void (*coopth_func_t)(void *arg); void coopth_init(void); int coopth_create(coopth_func_t func, void *arg, char *name); int coopth_start(int tid); void coopth_wait(void); void coopth_sleep(void); void coopth_wake_up(int tid); void coopth_done(void); #endif