iv_init(3)

iv_init3

Initialise and deinitialise ivykis

Usage

#include <iv.h>

void iv_init(void);
void iv_deinit(void);
int iv_inited(void);

Overview

iv_init initialises the current thread's ivykis event loop.

Each thread that wants to use ivykis must call iv_init before any other ivykis functions are called.

The very first call to iv_init in a process must run to completion before other threads are allowed to call iv_init, but subsequent calls to iv_init can be done concurrently.

iv_deinit frees all resources allocated by ivykis in this thread, and should be called before this thread exits.

iv_inited returns true if iv_init has been called in this thread. After iv_deinit is called, it will return false.

Releases

Unchanged in 7 releases since Debian 7 (Wheezy).

  1. 7–13

From libivykis-dev 0.43.2-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.