TnyGtkLockable

TnyGtkLockable — A lockable for Gdk-Threads

Synopsis

                    TnyGtkLockable;
TnyLockable*        tny_gtk_lockable_new                (void);

Object Hierarchy

  GObject
   +----TnyGtkLockable

Implemented Interfaces

TnyGtkLockable implements TnyLockable.

Description

A TnyLockable implementation that uses gdk_threads_enter and gdk_threads_leave to implement the lock and unlock operations

Details

TnyGtkLockable

typedef struct _TnyGtkLockable TnyGtkLockable;

A TnyLockable that has its tny_lockable_lock() and tny_lockable_ulock() implemented using gdk_threads_enter() and gdk_threads_leave().

free-function: g_object_unref


tny_gtk_lockable_new ()

TnyLockable*        tny_gtk_lockable_new                (void);

Create a TnyLockable that uses gdk_threads_enter() and gdk_threads_leave() as lock and unlock implementations.

Returns :

(caller-owns): a new TnyLockable

Since 1.0 audience: application-developer