comparison src/os/unix/ngx_files.h @ 6022:1fdba317ee6d

Added support for offloading read() in thread pools.
author Valentin Bartenev <vbart@nginx.com>
date Sat, 14 Mar 2015 17:37:25 +0300
parents ccad84a174e0
children db138b3b645e
comparison
equal deleted inserted replaced
6021:117c77b22db1 6022:1fdba317ee6d
381 381
382 extern ngx_uint_t ngx_file_aio; 382 extern ngx_uint_t ngx_file_aio;
383 383
384 #endif 384 #endif
385 385
386 #if (NGX_THREADS)
387 ssize_t ngx_thread_read(ngx_thread_task_t **taskp, ngx_file_t *file,
388 u_char *buf, size_t size, off_t offset, ngx_pool_t *pool);
389 #endif
390
386 391
387 #endif /* _NGX_FILES_H_INCLUDED_ */ 392 #endif /* _NGX_FILES_H_INCLUDED_ */