- 论坛徽章:
- 1
|
With AIX 5L Version 5.2, two different Asynchronous I/O (AIO) kernel\r\nextensions are available, the legacy AIO and the new POSIX compliant\r\nAIO. The legacy AIO was created before the POSIX standard was fully\r\ndeveloped so it differs in how parameters are passed and in some of the function definitions. The functions defined by both have the same names because of backward compatibility for the legacy AIO and for POSIX compliance for the new AIO. Although the two extensions have the same symbol names, redefinitions are done in aio.h so that both extensions can use the libc.a interface. POSIX AIO can also be accessed through the new real time library librt.a. The POSIX version will be the default version for compiling, creating a need for the new macro _AIO_AIX_SOURCE to use in compiling for the legacy version.\r\n\r\nYou should not use both aio types simultaneously on the one system, as the application is compiled to either use posix or legacy but not both. |
|