giiMTInit(3)

giiMTInit3

Make libgii thread-safe

Usage

#include <ggi/gii.h>
int giiMTInit(void);

Overview

giiMTInit sets up LibGII so that it is fully thread-safe. This allows the application to call LibGII functions (on the same input) without doing its own locking. This will enable extra checks and locks that are off by default to avoid overhead.

This function does not replace giiInit(3), which must still be called at least once.

Return value

giiMTInit returns 0 on successful execution.

Known bugs

This function has not been well tested.

Releases

5 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–7

From libgii1 1:1.0.2-4.1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.