Unify Framework Lib 1.6.0
uic_main_loop.c File Reference
#include <stdbool.h>
#include "process.h"
#include "procinit.h"
#include "etimer.h"
#include "sl_log.h"
#include "uic_main_externals_internal.h"

Macros

#define UIC_DEFAULT_CLOCK_TIME_SELECT_DELAY   300
 

Functions

static clock_time_t uic_main_loop_find_delay (void)
 
bool uic_main_loop_run (void)
 
void uic_main_wait_for_file_descriptors (void)
 wait for a maximum timeout, see UIC_DEFAULT_CLOCK_TIME_SELECT_DELAY, for file descriptors to change More...
 
bool uic_main_loop (void)
 

Macro Definition Documentation

◆ UIC_DEFAULT_CLOCK_TIME_SELECT_DELAY

#define UIC_DEFAULT_CLOCK_TIME_SELECT_DELAY   300

Default wait time in external event select.

Unit is contiki clock_time_t units. FIXME: move this to some global definitions place.

Function Documentation

◆ uic_main_loop_find_delay()

static clock_time_t uic_main_loop_find_delay ( void  )
static

◆ uic_main_loop_run()

bool uic_main_loop_run ( void  )

Run the main process loop in gecko.

See also
uic_main_loop for more info.

◆ uic_main_wait_for_file_descriptors()

void uic_main_wait_for_file_descriptors ( void  )

wait for a maximum timeout, see UIC_DEFAULT_CLOCK_TIME_SELECT_DELAY, for file descriptors to change