Skip to content

File shard_proxy_queue.h

FileList > broker > shard_proxy_queue.h

Go to the source code of this file

  • #include <pthread.h>

Classes

Type Name
struct t_shard_cqueue
struct t_shard_queue
struct t_shard_queue_ent

Public Types

Type Name
typedef int(* SHARD_COMP_FN
typedef struct t_shard_cqueue T_SHARD_CQUEUE
typedef struct t_shard_queue T_SHARD_QUEUE
typedef struct t_shard_queue_ent T_SHARD_QUEUE_ENT

Public Functions

Type Name
void * shard_cqueue_dequeue (T_SHARD_CQUEUE * cq)
void shard_cqueue_destroy (T_SHARD_CQUEUE * cq)
int shard_cqueue_enqueue (T_SHARD_CQUEUE * cq, void * e)
int shard_cqueue_initialize (T_SHARD_CQUEUE * cq, int size)
void * shard_queue_dequeue (T_SHARD_QUEUE * q)
void shard_queue_destroy (T_SHARD_QUEUE * q)
int shard_queue_enqueue (T_SHARD_QUEUE * q, void * v)
int shard_queue_initialize (T_SHARD_QUEUE * q)
int shard_queue_ordered_enqueue (T_SHARD_QUEUE * q, void * v, SHARD_COMP_FN comp_fn)
void * shard_queue_peek_value (T_SHARD_QUEUE * q)

Public Types Documentation

typedef SHARD_COMP_FN

typedef int(* SHARD_COMP_FN) (const void *arg1, const void *arg2);

typedef T_SHARD_CQUEUE

typedef struct t_shard_cqueue T_SHARD_CQUEUE;

typedef T_SHARD_QUEUE

typedef struct t_shard_queue T_SHARD_QUEUE;

typedef T_SHARD_QUEUE_ENT

typedef struct t_shard_queue_ent T_SHARD_QUEUE_ENT;

Public Functions Documentation

function shard_cqueue_dequeue

void * shard_cqueue_dequeue (
    T_SHARD_CQUEUE * cq
) 

function shard_cqueue_destroy

void shard_cqueue_destroy (
    T_SHARD_CQUEUE * cq
) 

function shard_cqueue_enqueue

int shard_cqueue_enqueue (
    T_SHARD_CQUEUE * cq,
    void * e
) 

function shard_cqueue_initialize

int shard_cqueue_initialize (
    T_SHARD_CQUEUE * cq,
    int size
) 

function shard_queue_dequeue

void * shard_queue_dequeue (
    T_SHARD_QUEUE * q
) 

function shard_queue_destroy

void shard_queue_destroy (
    T_SHARD_QUEUE * q
) 

function shard_queue_enqueue

int shard_queue_enqueue (
    T_SHARD_QUEUE * q,
    void * v
) 

function shard_queue_initialize

int shard_queue_initialize (
    T_SHARD_QUEUE * q
) 

function shard_queue_ordered_enqueue

int shard_queue_ordered_enqueue (
    T_SHARD_QUEUE * q,
    void * v,
    SHARD_COMP_FN comp_fn
) 

function shard_queue_peek_value

void * shard_queue_peek_value (
    T_SHARD_QUEUE * q
) 


The documentation for this class was generated from the following file cubrid/src/broker/shard_proxy_queue.h