c-user: Update semaphore example

Update #4346.
This commit is contained in:
Sebastian Huber 2021-03-16 15:42:31 +01:00
parent a4755f6ee5
commit f2bbea69af

View File

@ -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
);