summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/aio_misc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-28cpukit/posix/src/[a-o]*.c: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2020-04-28doxygen: Switch @brief and @ingroupSebastian Huber1-1/+2
This order change fixes the Latex documentation build via Doxygen.
2016-07-22score: Add debug support to chainsSebastian Huber1-1/+3
This helps to detect * double insert, append, prepend errors, and * get from empty chain errors.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2014-03-11sapi: Use one SMP lock for all chainsSebastian Huber1-13/+8
This partially reverts commit 1215fd4d9426a59d568560e9a485628560363133. In order to support profiling of SMP locks and provide a future compatible SMP locks API it is necessary to add an SMP lock destroy function. Since the commit above adds an SMP lock to each chain control we would have to add a rtems_chain_destroy() function as well. This complicates the chain usage dramatically. Thus revert the patch above. A global SMP lock for all chains is used to implement the protected chain operations. Advantages: * The SAPI chain API is now identical on SMP and non-SMP configurations. * The size of the chain control is reduced and is then equal to the Score chains. * The protected chain operations work correctly on SMP. Disadvantage: * Applications using many different chains and the protected operations may notice lock contention. The chain control size drop is a huge benefit (SAPI chain controls are 66% larger than the Score chain controls). The only disadvantage is not really a problem since these applications can use specific interrupt locks and unprotected chain operations to avoid this issue.
2013-08-30sapi: SMP support for chainsSebastian Huber1-13/+19
Add ISR lock to chain control for proper SMP protection. Replace rtems_chain_extract() with rtems_chain_explicit_extract() and rtems_chain_insert() with rtems_chain_explicit_insert() on SMP configurations. Use rtems_chain_explicit_extract() and rtems_chain_explicit_insert() to provide SMP support.
2013-01-10cpukit/posix: Doxygen group is POSIXAPIJoel Sherrill1-1/+1
2012-12-19posix: Doxygen Enhancement Task #9Ayush Awasthi1-0/+7
http://www.google-melange.com/gci/task/view/google/gci2012/7948216
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2011-12-032011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-2/+2
* posix/src/aio_misc.c: Make rtems_aio_move_to_work, rtems_aio_insert_prio static.
2011-01-172011-01-17 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill1-27/+70
* posix/src/aio_cancel.c: Fixed ending of if braces. 2011-01-17 Alin Rus <alin.codejunkie@gmail.com> * posix/src/aio_misc.c: Add debug information. Fixed idle_threads/ active_threads issues. Fixed infinite loop in rtems_aio_handle().
2011-01-082011-01-08 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill1-1/+4
* posix/src/aio_misc.c: Fix rtems_aio_remove_req did not iterate over chain. * posix/src/aio_cancel.c: Add debug information. Add check for bad file descriptor. Add else branch for cancel request on empty IQ chain.
2010-11-012010-11-01 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill1-12/+15
* posix/include/rtems/posix/aio_misc.h, posix/src/aio_misc.c: Small fixes.
2010-08-202010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-0/+2
* posix/include/rtems/posix/aio_misc.h: Add decl for aio_request_queue. * posix/src/aio_misc.c: Add aio_request_queue.
2010-08-202010-08-16 Alin Rus <alin.codejunkie@gmail.com>Ralf Corsepius1-77/+63
* posix/include/aio.h: Add LIO_SYNC. * posix/include/rtems/posix/aio_misc.h: Add aio_request_queue, Cosmetics. * posix/src/aio_cancel.c, posix/src/aio_fsync.c, posix/src/aio_misc.c: Rework.
2010-08-162010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+1
* 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-162010-08-16 Alin Rus <alin.codejunkie@gmail.com>Ralf Corsepius1-0/+521
* posix/src/aio_misc.c: New. * posix/src/aio_error.c, posix/src/aio_read.c, * posix/src/aio_return.c, posix/src/aio_write.c: New implementation.