Index

Package: Idle (generic)

Description

generic
      type Data_Type (<>) is private;
   package Idle is
Destroy will be called automatically just prior to the destruction of D. In particular, it is also called if the idle is destroyed through a call to Idle_Remove.

Types

Data_Type

type Data_Type (<>) is private;

Callback

type Callback is access function (D : Data_Type) return Boolean;

Destroy_Callback

type Destroy_Callback is access procedure (D : in out Data_Type);

Subprograms & Entries

Add

function Add 
(Cb: Callback;
D: Data_Type;
Priority: Idle_Priority := Priority_Default_Idle;
Destroy: Destroy_Callback := null) return Idle_Handler_Id;