代码搜索:zthread
找到约 290 项符合「zthread」的源代码
代码结果 290
www.eeworm.com/read/140545/13076941
cpp evengenerator.cpp
//: C11:EvenGenerator.cpp
// When threads collide.
//{L} ZThread
#include "EvenChecker.h"
#include "zthread/ThreadedExecutor.h"
#include
using namespace ZThread;
using namespace std;
www.eeworm.com/read/140545/13076947
cpp fixeddiningphilosophers.cpp
//: C11:FixedDiningPhilosophers.cpp
// Dining Philosophers without Deadlock
//{L} ZThread
#include "DiningPhilosophers.h"
#include "zthread/ThreadedExecutor.h"
#include
using namespace
www.eeworm.com/read/140545/13076951
cpp responsiveui.cpp
//: C11:ResponsiveUI.cpp
// Threading for a responsive user interface.
//{L} ZThread
#include "zthread/Thread.h"
#include
#include
using namespace ZThread;
using namespace
www.eeworm.com/read/140545/13076953
cpp testtqueue.cpp
//: C11:TestTQueue.cpp
//{L} ZThread
#include
#include
#include "TQueue.h"
#include "zthread/Thread.h"
#include "LiftOff.h"
using namespace ZThread;
using namespace std;
www.eeworm.com/read/140545/13076960
cpp incrementer.cpp
//: C11:Incrementer.cpp
// Destroying objects while threads are still
// running will cause serious problems.
//{L} ZThread
#include "zthread/Thread.h"
#include "zthread/ThreadedExecutor.h"
#inc
www.eeworm.com/read/140545/13076975
cpp waxomatic.cpp
//: C11:WaxOMatic.cpp
// Basic thread cooperation.
//{L} ZThread
#include "zthread/Thread.h"
#include "zthread/Mutex.h"
#include "zthread/Guard.h"
#include "zthread/Condition.h"
#include "zthre
www.eeworm.com/read/140545/13076984
cpp simplepriorities.cpp
//: C11:SimplePriorities.cpp
// Shows the use of thread priorities.
//{L} ZThread
#include "zthread/Thread.h"
#include
#include
using namespace ZThread;
using namespace std;
www.eeworm.com/read/140545/13076991
cpp threadlocalvariables.cpp
//: C11:ThreadLocalVariables.cpp
// Automatically giving each thread its own storage.
//{L} ZThread
#include "zthread/Thread.h"
#include "zthread/Mutex.h"
#include "zthread/Guard.h"
#include "zt
www.eeworm.com/read/140545/13076996
cpp yieldingtask.cpp
//: C11:YieldingTask.cpp
// Suggesting when to switch threads with yield().
//{L} ZThread
#include
#include "zthread/Thread.h"
#include "zthread/ThreadedExecutor.h"
using namespace ZT
www.eeworm.com/read/140545/13077001
cpp unresponsiveui.cpp
//: C11:UnresponsiveUI.cpp
// Lack of threading produces an unresponsive UI.
//{L} ZThread
#include "zthread/Thread.h"
#include
#include
using namespace std;
using namespac