资源简介

大家不要下载,这程序是本人上传的,只是实现了多线程和互斥,老师说不能算是同步。

资源截图

代码片段和文件信息

#include “StdAfx.h“
#include “BasicClass.h“

BasicClass::BasicClass(void)
{
    m_cCounterDlg=NULL;
    m_bDone=FALSE;//初始化允许线程运行
    m_bAutoDelete=FALSE;//要求手动删除线程对象
}
BasicClass::~BasicClass(void)
{
}
void BasicClass::SetOwner(CCounterDlg *Owner)
{
    m_cCounterDlg=Owner;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        313  2009-12-22 03:27  Counter\Counter\BasicClass.cpp

     文件        259  2009-12-22 03:51  Counter\Counter\BasicClass.h

     文件      58944  2009-12-22 16:10  Counter\Counter\Counter.aps

     文件       1660  2009-12-22 01:07  Counter\Counter\Counter.cpp

     文件        447  2009-12-22 01:07  Counter\Counter\Counter.h

     文件       5970  2009-12-22 16:10  Counter\Counter\Counter.rc

     文件       5884  2009-12-22 14:45  Counter\Counter\Counter.vcproj

     文件       1427  2009-12-22 17:06  Counter\Counter\Counter.vcproj.ZGZG-434B7ECF1A.pzg123456987123456.user

     文件       7778  2009-12-22 16:58  Counter\Counter\CounterDlg.cpp

     文件       1048  2009-12-22 16:57  Counter\Counter\CounterDlg.h

     文件       1679  2009-12-22 17:06  Counter\Counter\CounterThread.cpp

     文件        278  2009-12-22 12:46  Counter\Counter\CounterThread.h

     文件       5288  2009-12-22 16:57  Counter\Counter\Debug\BasicClass.obj

     文件       6606  2009-12-22 17:03  Counter\Counter\Debug\BuildLog.htm

     文件       1196  2009-12-22 03:18  Counter\Counter\Debug\Counter.exe.embed.manifest

     文件       1260  2009-12-22 03:18  Counter\Counter\Debug\Counter.exe.embed.manifest.res

     文件       1120  2009-12-22 17:03  Counter\Counter\Debug\Counter.exe.intermediate.manifest

     文件      20398  2009-12-22 16:57  Counter\Counter\Debug\Counter.obj

     文件   25034752  2009-12-22 10:53  Counter\Counter\Debug\Counter.pch

     文件      23676  2009-12-22 16:10  Counter\Counter\Debug\Counter.res

     文件      50512  2009-12-22 16:58  Counter\Counter\Debug\CounterDlg.obj

     文件      10021  2009-12-22 17:03  Counter\Counter\Debug\CounterThread.obj

     文件      11146  2009-12-22 17:03  Counter\Counter\Debug\DisplayThread.obj

     文件         67  2009-12-22 17:03  Counter\Counter\Debug\mt.dep

     文件     465970  2009-12-22 10:53  Counter\Counter\Debug\stdafx.obj

     文件     920576  2009-12-22 17:03  Counter\Counter\Debug\vc90.idb

     文件    2019328  2009-12-22 17:03  Counter\Counter\Debug\vc90.pdb

     文件       1230  2009-12-22 17:03  Counter\Counter\DisplayThread.cpp

     文件        236  2009-12-22 14:41  Counter\Counter\DisplayThread.h

     文件       2763  2009-12-22 01:07  Counter\Counter\ReadMe.txt

............此处省略20个文件信息

评论

共有 条评论