GtkAda Reference Manual - Package Gdk.Threads

[Contents] [Back] [Prev] [Up] [Next] [Forward]

# Package Gdk.Threads

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).

- Gdk.Threads Subprograms

## Subprograms

    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.
    procedure Init;
| Initialize the Gdk internal threading support. This function must be called after G_Init and before any call to Enter or Leave.
    procedure Enter;
| Take the GtkAda global lock. See the GtkAda User's Guide for more details (section Tasking with GtkAda).
    procedure Leave;
| Release the GtkAda global lock. See the GtkAda User's Guide for more details (section Tasking with GtkAda).

[Contents] [Back] [Prev] [Up] [Next] [Forward]