Index

Package: Threads

Description

package Gdk.Threads is
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).

Binding from C File version 1.3.6

Subprograms & Entries

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.

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.

Enter

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

Leave

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