aioSysDrv.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* aioSysDrv.h - AIO system driver header file */
  2. /* Copyright 1984-1994 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01c,12jan94,kdl  changed name from aioSysPxLib to aioSysDrv; general cleanup.
  7. 01b,06dec93,dvs  removed S_aioSysPxLib_NO_PIPES
  8. 01a,04apr93,elh  written.
  9. */
  10. #ifndef __INCaioSysDrvh
  11. #define __INCaioSysDrvh
  12. /* includes */
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #include "aio.h"
  17. /* defines */
  18. /* default AIO task parameters */
  19. #define AIO_IO_TASKS_DFLT       2               /* number of I/O tasks */
  20. #define AIO_IO_STACK_DFLT       0x7000          /* I/O task stack size */
  21. #define AIO_IO_PRIO_DFLT        50              /* I/O task priority */
  22. #define AIO_TASK_OPT            0               /* task options */
  23. #define AIO_WAIT_STACK          0x7000          /* wait task stack size */
  24. /* forward declarations */
  25. #if defined(__STDC__) || defined(__cplusplus)
  26. extern STATUS aioSysInit (int numTasks, int taskPrio, int taskStackSize);
  27. #else /* __STDC__ */
  28. extern STATUS aioSysInit ();
  29. #endif /* __STDC__ */
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif /* __INCaioSysDrvh */