Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
bfs/breadcrumbs/src/io/IOProcessor.cpp
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
43 lines (34 sloc)
949 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "IOProcessor.hpp" | |
DWORD IOProcessor::threadInit(LPVOID pIOProcessor) | |
{ | |
((IOProcessor*) pIOProcessor)->threadRuntime(); | |
return 0; | |
} | |
UINT8 IOProcessor::startThread(LPVOID pThreadArgs) | |
{ | |
this->threadArgs = pThreadArgs; | |
hThread = CreateThread( | |
NULL, // default security attributes | |
0, // use default stack size | |
threadInit, // thread function name | |
this, // argument to thread function | |
0, // use default creation flags | |
&dwThreadId); // returns the thread identifier | |
return TRUE; | |
} | |
BOOL IOProcessor::waitForThread() | |
{ | |
WaitForSingleObject(hThread, INFINITE); | |
return TRUE; | |
} | |
BOOLEAN bufferDataAvailable() | |
{ | |
return FALSE; | |
} | |
SIZE_T getBufferData(LPCSTR* bufferKeyArray, LPCSTR* bufferValueArray) | |
{ | |
return 0; | |
} | |
VOID setDataStoreValue(LPCSTR key, LPCVOID value, SIZE_T valueSize) | |
{ | |
} |