summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/aio_misc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/posix/src/[a-o]*.c: Change license to BSD-2Joel Sherrill2022-02-281-3/+22
| | | | Updates #3053.
* doxygen: Switch @brief and @ingroupSebastian Huber2020-04-281-1/+2
| | | | This order change fixes the Latex documentation build via Doxygen.
* score: Add debug support to chainsSebastian Huber2016-07-221-1/+3
| | | | | | | This helps to detect * double insert, append, prepend errors, and * get from empty chain errors.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* sapi: Use one SMP lock for all chainsSebastian Huber2014-03-111-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.
* sapi: SMP support for chainsSebastian Huber2013-08-301-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.
* cpukit/posix: Doxygen group is POSIXAPIJoel Sherrill2013-01-101-1/+1
|
* posix: Doxygen Enhancement Task #9Ayush Awasthi2012-12-191-0/+7
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7948216
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-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-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-031-2/+2
| | | | | * posix/src/aio_misc.c: Make rtems_aio_move_to_work, rtems_aio_insert_prio static.
* 2011-01-17 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill2011-01-171-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-08 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill2011-01-081-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-01 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill2010-11-011-12/+15
| | | | | * posix/include/rtems/posix/aio_misc.h, posix/src/aio_misc.c: Small fixes.
* 2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-201-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-16 Alin Rus <alin.codejunkie@gmail.com>Ralf Corsepius2010-08-201-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-16 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-161-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-16 Alin Rus <alin.codejunkie@gmail.com>Ralf Corsepius2010-08-161-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.