|
corosync
2.3.5
|
#include <config.h>#include <corosync/totem/totempg.h>#include <corosync/hdb.h>#include "schedwrk.h"
Go to the source code of this file.
Data Structures | |
| struct | schedwrk_instance |
| union | u |
Functions | |
| DECLARE_HDB_DATABASE (schedwrk_instance_database, NULL) | |
| void | schedwrk_init (void(*serialize_lock_fn)(void), void(*serialize_unlock_fn)(void)) |
| int | schedwrk_create (hdb_handle_t *handle, int(schedwrk_fn)(const void *), const void *context) |
| int | schedwrk_create_nolock (hdb_handle_t *handle, int(schedwrk_fn)(const void *), const void *context) |
| void | schedwrk_destroy (hdb_handle_t handle) |
| DECLARE_HDB_DATABASE | ( | schedwrk_instance_database | , |
| NULL | |||
| ) |
| int schedwrk_create | ( | hdb_handle_t * | handle, |
| int(schedwrk_fn)(const void *) | , | ||
| const void * | context | ||
| ) |
Definition at line 143 of file schedwrk.c.
References schedwrk_instance::schedwrk_fn.
Referenced by sync_init().
| int schedwrk_create_nolock | ( | hdb_handle_t * | handle, |
| int(schedwrk_fn)(const void *) | , | ||
| const void * | context | ||
| ) |
Definition at line 151 of file schedwrk.c.
References schedwrk_instance::schedwrk_fn.
| void schedwrk_destroy | ( | hdb_handle_t | handle | ) |
Definition at line 159 of file schedwrk.c.
Referenced by sync_abort().
| void schedwrk_init | ( | void(*)(void) | serialize_lock_fn, |
| void(*)(void) | serialize_unlock_fn | ||
| ) |
Definition at line 93 of file schedwrk.c.
References schedwrk_instance::callback_handle, schedwrk_instance::context, schedwrk_instance::lock, schedwrk_instance::schedwrk_fn, TOTEM_CALLBACK_TOKEN_SENT, and totempg_callback_token_create().
Referenced by main().
1.8.11