Ignore:
Timestamp:
01/09/18 05:13:32 (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
0f7913b
Parents:
2aa5b98
git-author:
Sebastian Huber <sebastian.huber@…> (01/09/18 05:13:32)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/07/18 07:58:31)
Message:

stdio-redirector: Use self-contained mutex

Update #2843.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/stdio-redirect.h

    r2aa5b98 r2fd31117  
    4343#include <stdbool.h>
    4444#include <rtems.h>
     45#include <rtems/thread.h>
    4546
    4647#ifdef __cplusplus
     
    6465  volatile uint32_t            state;       /**< The state. */
    6566  rtems_id                     reader;      /**< The reader thread. */
    66   rtems_id                     lock;        /**< Lock for this struct. */
     67  rtems_mutex                  lock;        /**< Lock for this struct. */
    6768  int                          fd;          /**< The file descriptor to redirect. */
    6869  int                          fd_dup;      /**< Duplicated fd to write to. */
Note: See TracChangeset for help on using the changeset viewer.