cpukit/posix/aio*: Added support for lio_listio()

This commit adds support for lio_listio().
psxaio05 has been added to test the new method.
To avoid code duplication, the body of aio_read and aio_write has been
moved in two helper methods. In this way i can use it also in lio_listio().

In addition to that, a limit on the number of total aio operation enqueued
has been added.

Updates rtems/programs/gsoc#29
This commit is contained in:
alessandronardin
2024-07-28 15:29:28 +02:00
parent ad51286e2b
commit 1b6684ee2b
20 changed files with 781 additions and 101 deletions

View File

@@ -63,6 +63,8 @@ links:
uid: psxaio03
- role: build-dependency
uid: psxaio04
- role: build-dependency
uid: psxaio05
- role: build-dependency
uid: psxalarm01
- role: build-dependency

View File

@@ -0,0 +1,20 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: test-program
cflags: []
copyrights:
- Copyright (C) 2024 Alessandro Nardin <ale.daluch@gmail.com>
cppflags: []
cxxflags: []
enabled-by:
- RTEMS_POSIX_API
features: c cprogram
includes: []
ldflags: []
links: []
source:
- testsuites/psxtests/psxaio05/init.c
stlib: []
target: testsuites/psxtests/psxaio05.exe
type: build
use-after: []
use-before: []