Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

gen71.h File Reference


Detailed Description

Dispatcher and Queue Management.

Author:
JoergM area dispatcher
See also:
example.html ...

Definition in file gen71.h.

#include "gsp00.h"
#include "gen50.h"

Go to the source code of this file.

Defines

#define ACTIVE_COUNTER   0x0001
#define ADD_ACTIVE_COUNTER   ACTIVE_COUNTER | COUNTER_ADD
#define ADD_ALL_COUNTER   ALL_COUNTER | COUNTER_ADD
#define ADD_TOTAL_COUNTER   TOTAL_COUNTER | COUNTER_ADD
#define ALL_COUNTER   0x00FF
#define CLIENT_NOT_TASK_MOVE_ENABLED   0x0002
#define COUNTER_ADD   0x0100
#define COUNTER_SUB   0x0200
#define NEVER_MOVE_TASK   0x0001
#define SUB_ACTIVE_COUNTER   ACTIVE_COUNTER | COUNTER_SUB
#define SUB_ALL_COUNTER   ALL_COUNTER | COUNTER_SUB
#define SUB_TOTAL_COUNTER   TOTAL_COUNTER | COUNTER_SUB
#define TASK_IS_INACTIVE   0x0008
#define TOTAL_COUNTER   0x0002
#define WAITING_FOR_NEW_COMMAND   0x0004

Functions

Queuing


externC void e71_com (struct TASK_TYPE *tcb)
 Enqueue task in COM queue.
externC void e71_EnquRav (struct TASK_TYPE *tcb, tsp00_Bool Prio)
 Enqueue task in RUN queue using BASE_PRIO_RAV.
externC void e71_EnquRex (struct TASK_TYPE *tcb, tsp00_Bool Prio)
 Enqueue task in RUN queue using BASE_PRIO_REX.
externC void e71_YieldTaskEnquRex (ten50_UKT_Control *this_ukt, tsp00_Bool Prio)
 Enqueue task in RUN queue using BASE_PRIO_REX.
externC void en71_ioc (ten50_UKT_Control *this_ukt, struct TASK_TYPE *tid, struct DOUBLY_LINKED *quu)
 Enqueue element in IOC queue.
externC void en71_iocEnquAndWake (ten50_UKT_Control *this_ukt, struct TASK_TYPE *tid, struct DOUBLY_LINKED *quu)
 Enqueue element in IOC queue and wakeup UKT.
externC void en71AlterTaskCnt (struct TASK_TYPE *tcb, SAPDB_UInt2 alterType)
 Alter UKTs task counter values.
externC void en71EnqueueUkt2Ukt (struct ten50_UKT_Control *SourceUkt, struct TASK_TYPE *TargetTcb, struct TASK_TYPE *FromTcb, VOIDFUNC_PTR Func, void *FuncParam)
 Enqueue function request from UKT to UKT.
time_t en71LoadBalancing ()
 Check load balancing.
Dispatcher


externC void en71Dispatcher (struct ten50_UKT_Control *this_ukt)
 Select the next running task in a UKT.
externC void en71LongTermMoveLock (struct TASK_TYPE *tcb, SAPDB_UInt2 lockType, SAPDB_Bool setLock)
 Set long term lock to prevent moving task from one UKT to another.
externC void en71TempMoveLock (struct TASK_TYPE *tcb, SAPDB_UInt2 cnt, SAPDB_Bool setLock)
 Set temporary lock to prevent moving task from one UKT to another.


Generated by  Doxygen 1.6.0   Back to index