forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
20
spec/build/testsuites/psxtests/psxaio04.yml
Normal file
20
spec/build/testsuites/psxtests/psxaio04.yml
Normal 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: []
|
||||
Reference in New Issue
Block a user