summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/aio_cancel.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/posix/src/[a-o]*.c: Change license to BSD-2Joel Sherrill2022-02-281-3/+22
| | | | Updates #3053.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* Remove superfluous <rtems/system.h> includesSebastian Huber2019-03-141-1/+0
|
* posix: Fix aio_cancel()Sebastian Huber2017-10-041-1/+1
| | | | Update #3164.
* 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-8/+10
| | | | | | | | 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.
* posix: Doxygen Enhancement Task #5Alex Ivanov2012-12-151-17/+7
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7959229
* 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-01-17 Alin Rus <alin.codejunkie@gmail.com>Joel Sherrill2011-01-171-2/+1
| | | | | | | | | * 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-66/+67
| | | | | | | | * 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.
* 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-01-041-2/+2
| | | | * posix/src/aio_cancel.c: Use perfd field not next_fd.
* 2010-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2010-08-241-6/+8
| | | | * posix/src/aio_cancel.c: Spray pthread_mutex_unlocks.
* 2010-08-16 Alin Rus <alin.codejunkie@gmail.com>Ralf Corsepius2010-08-201-15/+109
| | | | | | | | * 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.
* Add __attribute__((unused)) to unused function args.Ralf Corsepius2009-01-021-2/+2
|
* 2007-12-13 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-12-131-0/+30
* posix/Makefile.am, posix/src/clockgetcpuclockid.c, posix/src/clockgetenableattr.c, posix/src/clockgettime.c, posix/src/clocksetenableattr.c, posix/src/clocksettime.c, posix/src/devctl.c, posix/src/execl.c, posix/src/execle.c, posix/src/execlp.c, posix/src/execv.c, posix/src/execve.c, posix/src/execvp.c, posix/src/fork.c, posix/src/mutexinit.c, posix/src/pthreadatfork.c, posix/src/pthreadgetcpuclockid.c, posix/src/pthreadkill.c, posix/src/semaphorecreatesupp.c, posix/src/sysconf.c, posix/src/wait.c, posix/src/waitpid.c: Split files into one function per file. * posix/src/aio_cancel.c, posix/src/aio_error.c, posix/src/aio_fsync.c, posix/src/aio_read.c, posix/src/aio_return.c, posix/src/aio_suspend.c, posix/src/aio_write.c, posix/src/lio_listio.c, posix/src/sched_getparam.c, posix/src/sched_getprioritymax.c, posix/src/sched_getprioritymin.c, posix/src/sched_getscheduler.c, posix/src/sched_rr_get_interval.c, posix/src/sched_setparam.c, posix/src/sched_setscheduler.c, posix/src/sched_yield.c: New files. * posix/src/aio.c, posix/src/sched.c, posix/src/types.c: Removed.