Description: 10 VC++ source code examples of multi-threaded operation, which relates to the safe termination of the thread, how to create a UI thread, how to create a Worker thread to wait for the end of the thread, how to suspend and resume threads, how to get the thread exit code, how to use the mutex volume, how to use the critical area, how to use semaphore, etc, beginners should take a look at a wide use of multiple threads can improve program efficiency.
To Search:
- [VirusDetector] - an investigation virus C source Clamav c
- [vcthreads] - 10 VC++ source code examples of multi-th
File list (Check if you may need any files):
多线程\如何使用临界区\Demo\Demo.cpp
......\..............\....\Demo.dsp
......\..............\....\Demo.dsw
......\..............\....\Demo.h
......\..............\....\Demo.plg
......\..............\....\Demo.rc
......\..............\....\DemoDlg.cpp
......\..............\....\DemoDlg.h
......\..............\....\ReadMe.txt
......\..............\....\res\Demo.ico
......\..............\....\...\Demo.rc2
......\..............\....\resource.h
......\..............\....\StdAfx.cpp
......\..............\....\StdAfx.h
......\........事件\Demo\Demo.cpp
......\............\....\Demo.dsp
......\............\....\Demo.dsw
......\............\....\Demo.h
......\............\....\Demo.plg
......\............\....\Demo.rc
......\............\....\DemoDlg.cpp
......\............\....\DemoDlg.h
......\............\....\ReadMe.txt
......\............\....\res\Demo.ico
......\............\....\...\Demo.rc2
......\............\....\resource.h
......\............\....\StdAfx.cpp
......\............\....\StdAfx.h
......\........互斥量\Demo\Demo.cpp
......\..............\....\Demo.dsp
......\..............\....\Demo.dsw
......\..............\....\Demo.h
......\..............\....\Demo.plg
......\..............\....\Demo.rc
......\..............\....\DemoDlg.cpp
......\..............\....\DemoDlg.h
......\..............\....\ReadMe.txt
......\..............\....\res\Demo.ico
......\..............\....\...\Demo.rc2
......\..............\....\resource.h
......\..............\....\StdAfx.cpp
......\..............\....\StdAfx.h
......\........信号量\Demo\Demo.cpp
......\..............\....\Demo.dsp
......\..............\....\Demo.dsw
......\..............\....\Demo.h
......\..............\....\Demo.plg
......\..............\....\Demo.rc
......\..............\....\DemoDlg.cpp
......\..............\....\DemoDlg.h
......\..............\....\ReadMe.txt
......\..............\....\res\Demo.ico
......\..............\....\...\Demo.rc2
......\..............\....\resource.h
......\..............\....\StdAfx.cpp
......\..............\....\StdAfx.h
......\....创建UI线程\Demo\Demo.cpp
......\..............\....\Demo.dsp
......\..............\....\Demo.dsw
......\..............\....\Demo.h
......\..............\....\Demo.plg
......\..............\....\Demo.rc
......\..............\....\DemoDlg.cpp
......\..............\....\DemoDlg.h
......\..............\....\ReadMe.txt
......\..............\....\res\Demo.ico
......\..............\....\...\Demo.rc2
......\..............\....\resource.h
......\..............\....\StdAfx.cpp
......\..............\....\StdAfx.h
......\..............\....\ThreadDlg.cpp
......\..............\....\ThreadDlg.h
......\..............\....\UIThread.cpp
......\..............\....\UIThread.h
......\........Worker线程\Demo\Demo.cpp
......\..................\....\Demo.dsp
......\..................\....\Demo.dsw
......\..................\....\Demo.h
......\..................\....\Demo.plg
......\..................\....\Demo.rc
......\..................\....\DemoDlg.cpp
......\..................\....\DemoDlg.h
......\..................\....\ReadMe.txt
......\..................\....\res\Demo.ico
......\..................\....\...\Demo.rc2
......\..................\....\resource.h
......\..................\....\StdAfx.cpp
......\..................\....\StdAfx.h
......\....安全终止线程\Demo\Demo.cpp
......\................\....\Demo.dsp
......\................\....\Demo.dsw
......\................\....\Demo.h
......\................\....\Demo.plg
......\................\....\Demo.rc
......\................\....\DemoDlg.cpp
......\................\....\DemoDlg.h
......\................\....\ReadMe.txt
......\................\....\res\Demo.ico
......\................\....\...\Demo.rc2
......\................\....\resource.h