16#ifndef PIOM_NOTHREAD_H
17#define PIOM_NOTHREAD_H
20# error "Cannot include this file directly. Please include <pioman.h>."
23#ifdef PIOMAN_MULTITHREAD
24# error "inconsistency detected: PIOMAN_MULTITHREAD defined in piom_nothread.h"
34#define piom_thread_t int
35#define PIOM_THREAD_NULL 0
36#define PIOM_THREAD_SELF 1
void piom_ltask_schedule(int point)
Schedule tasks from local or all queues (depending on 'point')
#define PIOM_POLL_POINT_BUSY
poll in a busy wait
ABT_mutex piom_spinlock_t
static void piom_spin_assert_locked(piom_spinlock_t *lock)
static void piom_spin_lock(piom_spinlock_t *lock)
static void piom_spin_init(piom_spinlock_t *lock)
static void piom_spin_assert_notlocked(piom_spinlock_t *lock)
static void piom_sem_P(piom_sem_t *sem)
static void piom_spin_unlock(piom_spinlock_t *lock)
int piom_sem_t
dummy non-threaded semaphore
static int piom_spin_trylock(piom_spinlock_t *lock)
static void piom_sem_V(piom_sem_t *sem)
static void piom_sem_init(piom_sem_t *sem, int initial)
static void piom_spin_destroy(piom_spinlock_t *lock)