forked from Imagelibrary/rtems
@@ -97,8 +97,8 @@ static int pipe_alloc(
|
|||||||
goto err_wbar;
|
goto err_wbar;
|
||||||
if (rtems_semaphore_create(
|
if (rtems_semaphore_create(
|
||||||
rtems_build_name ('P', 'I', 's', c), 1,
|
rtems_build_name ('P', 'I', 's', c), 1,
|
||||||
RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,
|
RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY,
|
||||||
RTEMS_NO_PRIORITY, &pipe->Semaphore) != RTEMS_SUCCESSFUL)
|
0, &pipe->Semaphore) != RTEMS_SUCCESSFUL)
|
||||||
goto err_sem;
|
goto err_sem;
|
||||||
|
|
||||||
*pipep = pipe;
|
*pipep = pipe;
|
||||||
|
|||||||
Reference in New Issue
Block a user