Introduction - If you have any usage issues, please Google them yourself
thread synchronization Although multithreading can bring us benefits, but there a lso many problems to be solved. For example, as disk drives such exclusivity system resources and can thread the process of implementation of any code, and the thread running by the scheduling system automatically and to a certain extent the uncertainty, So, then there could be two threads while the disk drives operate, which have operational errors; For example, For the computer banking system, may use a thread to update users of its database, and use another thread to read a database to respond to the needs of depositors, Reading is very likely to read threads database is not fully update the database, Reading may be because the time was only part of the updated data.
Packet : 81404621multitreadsrc4.rar filelist
MultiThread10\MultiThread10.cpp
MultiThread10\MultiThread10.dsp
MultiThread10\MultiThread10.dsw
MultiThread10\MultiThread10.h
MultiThread10\MultiThread10.rc
MultiThread10\MultiThread10Dlg.cpp
MultiThread10\MultiThread10Dlg.h
MultiThread10\ReadMe.txt
MultiThread10\res\MultiThread10.ico
MultiThread10\res\MultiThread10.rc2
MultiThread10\Resource.h
MultiThread10\StdAfx.cpp
MultiThread10\StdAfx.h
MultiThread9\MultiThread9.cpp
MultiThread9\MultiThread9.dsp
MultiThread9\MultiThread9.dsw
MultiThread9\MultiThread9.h
MultiThread9\MultiThread9.rc
MultiThread9\MultiThread9Dlg.cpp
MultiThread9\MultiThread9Dlg.h
MultiThread9\ReadMe.txt
MultiThread9\res\MultiThread9.ico
MultiThread9\res\MultiThread9.rc2
MultiThread9\resource.h
MultiThread9\StdAfx.cpp
MultiThread9\StdAfx.h
MultiThread10\res
MultiThread9\res
MultiThread10
MultiThread9