libmetal
Loading...
Searching...
No Matches
sys.h File Reference
#include <metal/sleep.h>

Go to the source code of this file.

Data Structures

struct  metal_state

Macros

#define metal_yield()
#define METAL_INIT_DEFAULTS

Macro Definition Documentation

◆ METAL_INIT_DEFAULTS

#define METAL_INIT_DEFAULTS
Value:
{ \
.log_handler = (metal_log_handler)syslog, \
.log_level = METAL_LOG_INFO, \
}
void(* metal_log_handler)(enum metal_log_level level, const char *format,...)
Definition log.h:36
@ METAL_LOG_INFO
Definition log.h:31

◆ metal_yield

#define metal_yield ( )
Value:
static int metal_sleep_usec(unsigned int usec)
delay in microseconds delay the next execution in the calling thread fo usec microseconds.
Definition sleep.h:33