//Declaration
static UINT Thread(LPVOID pParam);
//Definition
UINT Thread(LPVOID pParam)
{
//Thread Part
while( ((GUIView*)pParam)->Thread_B )
{
//Time delay
Sleep(100);
//Processing
((GUIView*)pParam)->DoProcessing();
}
return 0;
}
//Thread Begin
void GUIView::BegainThread()
{
Thread_B = true;
::AfxBeginThread(Thread, this);
}
9/08/2012
Making thread on MFC (example source code)
Simple source code
Subscribe to:
Comments (Atom)
-
Google Coral USB Edge TPU Implementation Guide 1. Installation and Troubleshooting 1.1 Hardware Requirements Google Coral USB Accelerator ...
-
ONNX Runtime with ROCm (AMD GPU) Setup Guide Installation Prerequisites ROCm installed (6.0+ recommended) Python 3.8-3.10 Install ONNX Runti...
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv rgb converting example code. refer to this page -> http://feel...
-
Video stabilization example source code. The principle is like that... Firstly, to obtain 2 adjacent images extract good feature to t...
-
This is GPU version of this post. http://feelmare.blogspot.kr/2014/04/opencv-study-calcopticalflowfarneback.html In the GPU mode, the ret...
-
Image size of origin is 320*240. Processing time is 30.96 second took. The result of stitching The resul...
-
Complete Tutorial: LabelMe with Login System and Dataset Management This guide provides step-by-step instructions for setting up LabelMe wit...
-
Optical Flow sample source code using OpenCV. It programed based on http://feelmare.blogspot.kr/2012/10/make-2-frame-having-time-interv...
-
In the YUV color format, Y is bright information, U is blue color area, V is red color area. Show the below picture. The picture is u-v col...
-
This is example code for drawing fan shape grid using vtkStructuredGrid in vtk. I've looked at a lot of examples that draw like thi...