diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-23 11:39:50 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-29 12:25:34 +0200 |
commit | 847ad441cda2466680107b0b7607a8ceca3b17d4 (patch) | |
tree | d7ac7a11acd1c73faa39f250b54d08e96d21fedb /cpukit/libcsupport/include/rtems/libio_.h | |
parent | shell/lsof: Use fprintf() instead of printk() (diff) | |
download | rtems-847ad441cda2466680107b0b7607a8ceca3b17d4.tar.bz2 |
Filesystem: Wait for unmount() to finish
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio_.h')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio_.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h index 418f4a31ec..1e4bb84ecd 100644 --- a/cpukit/libcsupport/include/rtems/libio_.h +++ b/cpukit/libcsupport/include/rtems/libio_.h @@ -38,6 +38,16 @@ extern "C" { #define RTEMS_LIBIO_SEM rtems_build_name('L', 'B', 'I', 'O') #define RTEMS_LIBIO_IOP_SEM(n) rtems_build_name('L', 'B', 'I', n) +/** + * @brief Event to signal an unmount process completion. + * + * This event should equal the RTEMS_BDBUF_TRANSFER_SYNC event to avoid too + * many events reserved for the file system. + * + * @see rtems_filesystem_do_unmount() and unmount(). + */ +#define RTEMS_FILESYSTEM_UNMOUNT_EVENT RTEMS_EVENT_1 + extern rtems_id rtems_libio_semaphore; /* |