1 2 3 4 5 6 7 8 9 10 11 12
13 14 15
16
17 /*!
18 * ======== ISemThreadSupport ========
19 * Interface for OS specific back-end. [EXPERIMENTAL]
20 *
21 * The {@link xdc.runtime.knl} package contains modules that provide typical
22 * OS services. These xdc.runtime.knl modules require proxies to be
23 * bound to an OS specific delegate. This specifies the interface to
24 * be implemented by the OS specific delegate for
25 * {@link xdc.runtime.knl#SemThread} module.
26 *
27 *
28 * This interface adds the create() function.
29 */
30 interface ISemThreadSupport inherits ISemaphore
31 {
32
33 instance:
34
35 /*!
36 * ======== create ========
37 * Create a Semaphore object
38 *
39 * This function creates a new Semaphore object which is initialized to
40 * count.
41 *
42 * @param(count) initial semaphore count
43 */
44 create(Int count);
45 }
46
47 48
49 50 51
52