forked from Imagelibrary/rtems
2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/aio_misc.h: Remove rtems_aio_queue_s.size (Unused). * posix/src/aio_misc.c: Remove aio_request_queue.size. Cosmetics.
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* posix/include/rtems/posix/aio_misc.h: Remove
|
||||
rtems_aio_queue_s.size (Unused).
|
||||
* posix/src/aio_misc.c: Remove aio_request_queue.size.
|
||||
Cosmetics.
|
||||
|
||||
2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* posix/Makefile.am: Reflect aio-changes.
|
||||
|
||||
2010-08-16 Alin Rus <alin.codejunkie@gmail.com>
|
||||
|
||||
* posix/src/aio_misc.c: New.
|
||||
|
||||
@@ -57,7 +57,6 @@ extern "C"
|
||||
rtems_chain_control work_req; /* chains being worked by active threads */
|
||||
rtems_chain_control idle_req; /* fd chains waiting to be processed */
|
||||
unsigned int initialized; /* specific value if queue is initialized */
|
||||
int size;
|
||||
int active_threads; /* the number of active threads */
|
||||
int idle_threads; /* number of idle threads */
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ static void *rtems_aio_handle (void *arg);
|
||||
* NONE
|
||||
*
|
||||
* Output parameters:
|
||||
* 0 - if initialization succeded
|
||||
* 0 - if initialization succeeded
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -63,11 +63,9 @@ rtems_aio_init (void)
|
||||
|
||||
aio_request_queue.active_threads = 0;
|
||||
aio_request_queue.idle_threads = 0;
|
||||
aio_request_queue.size = 0;
|
||||
aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;
|
||||
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user