posix/aio*: Added notification on request completion

The patch adds the generation of a notification after an Asynchronous I/O
request has been completed. The notification is generated using the aio_sigevent
filed in the aiocb struct, as defined by the posix specifiations.
A new control, ensuring the validity of the field, is added on each call to
aio_read(), aio_write() and aio_fsync().
The patch also adds tests to cover the new code, and fixes formatting errors of
various aio files.
This commit is contained in:
alessandronardin
2024-07-13 11:43:30 +02:00
parent e58ff8984c
commit 3b96aaddde
20 changed files with 543 additions and 222 deletions

View File

@@ -61,6 +61,8 @@ links:
uid: psxaio02
- role: build-dependency
uid: psxaio03
- role: build-dependency
uid: psxaio04
- 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/psxaio04/init.c
stlib: []
target: testsuites/psxtests/psxaio04.exe
type: build
use-after: []
use-before: []