16 #ifndef AsyncIoThread_H
17 #define AsyncIoThread_H
19 #include <kernel_types.h>
20 #include "MemoryChannel.hpp"
21 #include <signaldata/BuildIndxImpl.hpp>
26 #ifdef DEBUG_ASYNCFILE
29 #define PRINT_ERRORANDFLAGS(f) printErrorAndFlags(f)
30 void printErrorAndFlags(Uint32 used_flags);
33 #define PRINT_ERRORANDFLAGS(f)
36 const int ERR_ReadUnderflow = 1000;
46 void atGet() { m_do_bind =
false; }
77 Uint32 auto_sync_size;
109 void set(BlockReference userReference,
112 BlockReference theUserReference;
113 Uint32 theUserPointer;
114 Uint16 theFilePointer;
123 NdbOut& operator <<(NdbOut&,
const Request&);
127 Request::set(BlockReference userReference,
128 Uint32 userPointer, Uint16 filePointer)
130 theUserReference= userReference;
131 theUserPointer= userPointer;
132 theFilePointer= filePointer;
156 Request *m_current_request, *m_last_request;
167 NdbMutex* theStartMutexPtr;