diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-04-26 14:28:52 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-04 10:53:51 +0200 |
commit | 5a4bb758c0017374352ccf065fb1aac4ebb3e27d (patch) | |
tree | 5b69f58aac905d40a70923eaab5b0fa43cfa57bb /testsuites/sptests/spfatal20 | |
parent | Remove CVS-Ids. (diff) | |
download | rtems-5a4bb758c0017374352ccf065fb1aac4ebb3e27d.tar.bz2 |
Filesystem: Remove per file descriptor semaphore
The per file descriptor semaphore (field of rtems_libio_t) is unused in
RTEMS. There is a considerable memory overhead due to that. A
semaphore needs roughly 124 bytes which is huge compared to the
approximately 72 bytes for the file descriptor structure itself. Device
drivers can create their own synchronization primitives in the open
handler on demand.
Diffstat (limited to 'testsuites/sptests/spfatal20')
-rw-r--r-- | testsuites/sptests/spfatal20/testcase.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/testsuites/sptests/spfatal20/testcase.h b/testsuites/sptests/spfatal20/testcase.h index 566c4bfc36..08721a0f8d 100644 --- a/testsuites/sptests/spfatal20/testcase.h +++ b/testsuites/sptests/spfatal20/testcase.h @@ -9,10 +9,6 @@ * $Id$ */ -/* generate fatal errors in termios.c - * rtems_semaphore_create( rtems_build_name ('T', 'R', 'r', c),...); - */ - #define FATAL_ERROR_TEST_NAME "20" #define FATAL_ERROR_DESCRIPTION \ "rtems_termios_initialize cannot create semaphore" |