# Intel's C++ Asynchronous I/O Class for Windows* Operating Systems

This topic only applies to Windows* OS.

Intel's C++ asynchronous I/O template class, async_class, is an implementation for the Windows* operating system on IA-32 (for C++ only) and Intel® 64 architectures.

The async_class template class allows users to perform I/O operations asynchronously to the main program thread. In particular, the async_class template class can be used to introduce asynchronous execution of I/O operations with the STL streams classes. Users can quickly switch any of the I/O operations of the STL streams to asynchronous mode with minimal changes to the application code.

The template class async_class is defined in the aiostream.h file.

Parent topic: Intel's C++ Asynchronous I/O Extensions for Windows* Operating Systems

- Template Class async_class
- get_last_operation_id
  Returns ID of the last added operation.
- wait
  Stops execution of current thread.
- get_status
  Returns status of specified operation.
- get_last_error
  Returns the error code of the last failed operation.
- get_error_operation_id
  Returns the ID of the last failed operation.
- stop_queue
  Stops queue execution.
- resume_queue
  Resumes queue execution.
- clear_queue
  Clears stopped or error-interrupted queues.
- Example for Using async_class Template Class

## See Also

Details of template class async_class