|
corosync 3.1.9
|
#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 |
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 138 of file schedwrk.c.
References schedwrk_instance::context, and schedwrk_instance::schedwrk_fn.
| int schedwrk_create_nolock | ( | hdb_handle_t * | handle, |
| int(schedwrk_fn)(const void *) | , | ||
| const void * | context | ||
| ) |
Definition at line 146 of file schedwrk.c.
References schedwrk_instance::context, and schedwrk_instance::schedwrk_fn.
| void schedwrk_destroy | ( | hdb_handle_t | handle | ) |
Definition at line 154 of file schedwrk.c.
Referenced by sync_abort().