module xdc.runtime.knl.GateH |
|
|
|
Provides APIs to protect critical sections when an IGate.Handle is
available
An application can isolate itself from IGate implementations by using
this module. The application must first obtain an IGate.Handle.
It can get such a handle by directly calling
GateThread.create or
GateProcess.create. Then the application can use the generic
APIs provided by this module.
[
more ... ]
#include <xdc/runtime/knl/GateH.h>
Functions |
IArg | |
Void | |
Functions common to all target modules |
|
|
DETAILS
An application can isolate itself from IGate implementations by using
this module. The application must first obtain an IGate.Handle.
It can get such a handle by directly calling
GateThread.create or
GateProcess.create. Then the application can use the generic
APIs provided by this module.
The underlying gates are nexting in nature and users have to leave
the gate as many times as they entered it.
GateH_enter() // module-wide |
|
Enter a gate
ARGUMENTS
hdl
IGateProvider.Handle
RETURNS
key
GateH_leave() // module-wide |
|
Leave a gate
ARGUMENTS
hdl
IGateProvider.Handle
key
key returned by enter();
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool GateH_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool GateH_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 GateH_Module_getMask();
// Returns the diagnostics mask for this module
Void GateH_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
var GateH = xdc.useModule('xdc.runtime.knl.GateH');
local proxy modules
module-wide config parameters
generated on Thu, 27 Sep 2012 23:21:09 GMT