mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-28 21:58:59 +08:00
2008-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/pipe/fifo.c: Actually disable initializing pipes as requested in confdefs.h.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libfs/src/pipe/fifo.c: Actually disable initializing pipes as
|
||||
requested in confdefs.h.
|
||||
|
||||
2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* sapi/include/confdefs.h: Add disable of pipes by default since they
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
extern uint16_t rtems_pipe_no;
|
||||
static rtems_id rtems_pipe_semaphore = 0;
|
||||
extern bool rtems_pipe_configured;
|
||||
|
||||
|
||||
#define PIPE_EMPTY(_pipe) (_pipe->Length == 0)
|
||||
@@ -534,6 +535,9 @@ int pipe_lseek(
|
||||
*/
|
||||
void rtems_pipe_initialize (void)
|
||||
{
|
||||
if (!rtems_pipe_configured)
|
||||
return;
|
||||
|
||||
if (rtems_pipe_semaphore)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user