1 2 3 4 5 6 7 8 9 10 11 12
13 package xdc.runtime;
14
15 /*!
16 * ======== GateNull ========
17 * Empty implementation of `{@link IGateProvider}`
18 *
19 * An instance of this `IGateProvider` implementation is assigned to all
20 * gated modules as a default module-wide gate. Instances of this gate
21 * implementation provide no protection for critical sections and should only
22 * be used for modules in which the data structures protected by module-level
23 * gates are never accessed by concurrent threads.
24 */
25 @RomConsts
26
27 module GateNull inherits IGateProvider {
28
29 instance:
30 /*!
31 * ======== create ========
32 * Create a `GateNull` gate
33 */
34 create();
35 }
36 37 38
39