mirror of
https://git.rtems.org/rtems-docs/
synced 2025-06-08 08:37:56 +08:00
parent
a4755f6ee5
commit
f2bbea69af
@ -940,7 +940,8 @@ Please have a look at the following example:
|
||||
sc = rtems_semaphore_create(
|
||||
rtems_build_name( 'M', 'R', 'S', 'P' ),
|
||||
1,
|
||||
RTEMS_BINARY_SEMAPHORE | RTEMS_MULTIPROCESSOR_RESOURCE_SHARING,
|
||||
RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY |
|
||||
RTEMS_MULTIPROCESSOR_RESOURCE_SHARING,
|
||||
1,
|
||||
&semaphore_id
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user