diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-11-01 17:32:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-11-01 17:32:53 +0000 |
commit | 5f92568509ef5c922ea10eb346f9775ddf8d2163 (patch) | |
tree | 86cf8facd6988e958039bdc58128da95b03caa0c /cpukit/posix/include | |
parent | 2010-11-01 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-5f92568509ef5c922ea10eb346f9775ddf8d2163.tar.bz2 |
2010-11-01 Alin Rus <alin.codejunkie@gmail.com>
* posix/include/rtems/posix/aio_misc.h, posix/src/aio_misc.c: Small
fixes.
Diffstat (limited to 'cpukit/posix/include')
-rw-r--r-- | cpukit/posix/include/rtems/posix/aio_misc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/posix/include/rtems/posix/aio_misc.h b/cpukit/posix/include/rtems/posix/aio_misc.h index db0e4d086f..c90d509d44 100644 --- a/cpukit/posix/include/rtems/posix/aio_misc.h +++ b/cpukit/posix/include/rtems/posix/aio_misc.h @@ -29,20 +29,20 @@ extern "C" /* Actual request being processed */ typedef struct { + rtems_chain_node next_prio; /* chain requests in order of priority */ int policy; /* If _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined */ int priority; /* see above */ - rtems_chain_node next_prio; /* chain requests in order of priority */ pthread_t caller_thread; /* used for notification */ struct aiocb *aiocbp; /* aio control block */ } rtems_aio_request; typedef struct { - int fildes; /* file descriptor to be processed */ - int new_fd; /* if this is a newly created chain */ rtems_chain_node next_fd; /* order fd chains in queue */ rtems_chain_control perfd; /* chain of requests for this fd */ + int fildes; /* file descriptor to be processed */ + int new_fd; /* if this is a newly created chain */ pthread_mutex_t mutex; pthread_cond_t cond; |