Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

tasklet.h File Reference


Detailed Description

A tasklet is a thread that is spawned to execute a probe() or handle() function. This is internal to the monitor. A reusable pool of threads is used.

#include "monthread.h"

Go to the source code of this file.

Data Structures

struct  aw_handler_tasklet_params_t
struct  aw_tasklet_pool_s
struct  aw_tasklet_thread_s

Defines

#define MAX_POOL_TASKLETS   1024

Typedefs

typedef aw_tasklet_pool_s aw_tasklet_pool_t
typedef aw_tasklet_thread_s aw_tasklet_thread_t

Functions

void aw_clear_tasklet_pool (aw_tasklet_pool_t *pool)
void aw_init_tasklet_pool (aw_tasklet_pool_t *pool)
int32_t aw_start_handler_tasklet (aw_handler_t *h, aw_handler_args_t *args)


Define Documentation

#define MAX_POOL_TASKLETS   1024
 


Typedef Documentation

typedef struct aw_tasklet_pool_s aw_tasklet_pool_t
 

typedef struct aw_tasklet_thread_s aw_tasklet_thread_t
 


Function Documentation

void aw_clear_tasklet_pool (  aw_tasklet_pool_t *  pool  ) 
 

void aw_init_tasklet_pool (  aw_tasklet_pool_t *  pool  ) 
 

int32_t aw_start_handler_tasklet (  aw_handler_t *  h,
aw_handler_args_t *  args
) 
 

Aware 0.11.1 Copyright (C) 1998-2005 Russell Leighton (russ@elegant-software.com)