## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Threads

- Goto spec source

# 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

- Goto spec in source
- Goto body in source

    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

- Goto spec in source
- Goto body in source

    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

- Goto spec in source
- Goto body in source

    procedure Enter;

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

### Leave

- Goto spec in source
- Goto body in source

    procedure Leave;

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