Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop Process-Thread

Mutex_Critical

  • Category : Process-Thread
  • Tags :
  • Update : 2012-11-26
  • Size : 836kb
  • Downloaded :1次
  • Author :chenz*****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
The examples of using multiple threads to use a different sorting algorithm to sort the data, for each thread use a different algorithm. The main thread, use the quick sort QuickSort, the other four algorithms were the establishment of four sub-thread, thread in the sub-sort. Because each thread must call the function PrintResult the output to the monitor, so that different threads will compete for the output to the monitor, so that different threads of the output will be mixed together, so it must thread one by one output. That is, must be mutually exclusive control PrintResult System. Should be mutually exclusive control, you must use Event, Mutex, CrititicalSection, Semaphore and other exclusive control of the amount. This example can use the Event, Mutex, CrititicalSection, you can modify the code prompted a mutex using one volume of testing. I do not use examples written MFC, SDK are used in the WINAPI, if slightly different when using MFC, but the principle is the same. And MFC
Packet file list
(Preview for download)
互斥类\mutex.cpp
......\调用方法.txt
sequence\sequence\Debug\sequence.exe
........\........\.....\sequence.ilk
........\........\.....\sequence.obj
........\........\.....\sequence.pch
........\........\.....\sequence.pdb
........\........\.....\StdAfx.obj
........\........\.....\vc60.idb
........\........\.....\vc60.pdb
........\........\sequence.cpp
........\........\sequence.dsp
........\........\sequence.dsw
........\........\sequence.ncb
........\........\sequence.opt
........\........\sequence.plg
........\........\StdAfx.cpp
........\........\StdAfx.h
临界区的互斥控制 - VC知识库文章_files\ads.htm
.....................................\ads_002.htm
.....................................\....data\imgad.png
.....................................\........_002\abg-zh-CN-100c-000000.png
.....................................\doc2.gif
.....................................\dotline2.gif
.....................................\earch.gif
.....................................\expansion_embed.js
.....................................\go.gif
.....................................\pic.gif
.....................................\rec1.gif
.....................................\show_ads.js
.....................................\stat.gif
.....................................\stat.htm
.....................................\style.css
.....................................\test_domain.js
.....................................\toplogo.gif
.....................................\uipower.htm
.....................................\......._data\vcads1.swf
.....................................\vckcom.gif
sequence.zip
临界区的互斥控制 - VC知识库文章.htm
sequence\sequence\Debug
........\sequence
临界区的互斥控制 - VC知识库文章_files\ads_data
.....................................\ads_data_002
.....................................\uipower_data
互斥类
sequence
临界区的互斥控制 - VC知识库文章_files
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.