Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Modules | Data Structures | Macros | Typedefs

Modules

 afw_xctx
 

Data Structures

struct  afw_xctx_s
 Interface afw_xctx public struct. More...
 
struct  afw_xctx_inf_s
 Interface afw_xctx_inf_s struct. More...
 

Macros

#define AFW_XCTX_INTERFACE_NAME   "afw_xctx"
 define for interface afw_xctx name.
 
#define afw_xctx_release(instance, xctx)
 Call method release of interface afw_xctx. More...
 

Typedefs

typedef void(* afw_xctx_release_t) (afw_xctx_t *instance, afw_xctx_t *xctx)
 

Detailed Description

Adaptive Framework Execution Context (xctx) interface.

An execution context holds common information related to a unit of work in Adaptive Framwork. This unit of work runs in a single thread of a single-threaded or multi-threaded process. In a multi-threaded process, the main thread has the global execution context. Other threads have their own execution context and required the appropriate mutexes or queued work to access memory in the global execution context.

The type of execution contexts can be "server", "request_session', etc. A execution context's pool, properties, and object cache will last for the life of the execution context. An execution context's parent will always have a longer life.

Macro Definition Documentation

◆ afw_xctx_release

#define afw_xctx_release (   instance,
  xctx 
)
Value:
(instance)->inf->release( \
(instance), \
(xctx) \
)

Call method release of interface afw_xctx.

Parameters
instancePointer to this adaptive request instance.
xctxThis is the caller's xctx.

Definition at line 4386 of file afw_interface.h.

Typedef Documentation

◆ afw_xctx_release_t

typedef void(* afw_xctx_release_t) (afw_xctx_t *instance, afw_xctx_t *xctx)
See also
afw_xctx_release()

Definition at line 4370 of file afw_interface.h.