#include "bool.h"
Include dependency graph for iothread.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | IO_QUEUE_SIZE 4 |
| The size of the queue for I/O operations. | |
Typedefs | |
| typedef void(*) | ioOperation (void *data) |
| The function prototype of all functions called by the I/O thread to perform blocking operations. | |
Functions | |
| Bool | CancelOperations () |
| Attempts to cancel all operations currently queued on the I/O thread. | |
| Bool | IsCancelationRequested () |
| Tells if a request has been made to cancel the current operation on the I/O thread through a call to CancelOperations(). | |
| int | QueueOperation (ioOperation op, void *data) |
| Adds an operation to the queue of pending blocking operations. | |
| void | StartIOThread () |
| Starts the I/O thread. | |
| void | StopIOThread () |
| Terminates the I/O thread. | |
Copyright (C) 2007 Jeff Jackowski
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Or visit their website at: http://www.gnu.org/
Definition in file iothread.h.
1.5.2