Gdk.Threads

Entities

Subprograms

Description

This package provides simple primitives to write multi-threaded applications with GtkAda. See the GtkAda User's Guide for more details (section Tasking with GtkAda).

<c_version>1.3.6</c_version> <group>Gdk, the low-level API</group>

Enter

procedure Enter

Take the GtkAda global lock. See the GtkAda User's Guide for more details (section Tasking with GtkAda).

G_Init

procedure G_Init (Vtable : System.Address := System.Null_Address)

Initialize the Glib internal threading support. This procedure must be called before any call to Enter or Leave. The parameter Vtable should never be used for now.

Parameters
Vtable

Init

procedure Init

Initialize the Gdk internal threading support. This function must be called after G_Init and before any call to Enter or Leave.

Leave

procedure Leave

Release the GtkAda global lock. See the GtkAda User's Guide for more details (section Tasking with GtkAda).