1 /*
2 * Copyright (c) 2008 Texas Instruments. All rights reserved.
3 * This program and the accompanying materials are made available under the
4 * terms of the Eclipse Public License v1.0 and Eclipse Distribution License
5 * v. 1.0 which accompanies this distribution. The Eclipse Public License is
6 * available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse
7 * Distribution License is available at
8 * http://www.eclipse.org/org/documents/edl-v10.php.
9 *
10 * Contributors:
11 * Texas Instruments - initial implementation
12 * */
13 /*
14 * ======== ISemThreadSupport.xdc ========
15 */
16
17 /*!
18 * ======== ISemThreadSupport ========
19 * Interface for OS specific back-end.
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 * This interface adds the create() function.
28 */
29 interface ISemThreadSupport inherits ISemaphore
30 {
31
32 instance:
33
34 /*!
35 * ======== create ========
36 * Create a Semaphore object
37 *
38 * This function creates a new Semaphore object which is initialized to
39 * count.
40 *
41 * @param(count) initial semaphore count
42 */
43 create(Int count);
44 }
45 /*
46 * @(#) xdc.runtime.knl; 1, 0, 0,101; 9-14-2010 16:36:40; /db/ztree/library/trees/xdc/xdc-v49x/src/packages/
47 */
48