// exit void reconos_hwsched_destroy() { cyg_thread_kill( reconos_hwsched_thread_handle ); cyg_cond_destroy(&reconos_hwsched_condvar); cyg_mutex_destroy(&reconos_hwsched_mutex); }
static int e_cond_gc(lua_State *L) { cyg_cond_t *cond; cond = (cyg_cond_t *) check_user_data(L, 1, E_COND); cyg_cond_destroy(cond); return 0; }