代码搜索:zthread
找到约 290 项符合「zthread」的源代码
代码结果 290
www.eeworm.com/read/140545/13076927
cpp poolexecutor.cpp
//: C11:PoolExecutor.cpp
//{L} ZThread
#include "zthread/PoolExecutor.h"
#include "LiftOff.h"
using namespace ZThread;
using namespace std;
int main() {
try {
// Constructor argument i
www.eeworm.com/read/140545/13076939
cpp interrupting2.cpp
//: C11:Interrupting2.cpp
// Interrupting a thread blocked
// with a synchronization guard.
//{L} ZThread
#include "zthread/Thread.h"
#include "zthread/Mutex.h"
#include "zthread/Guard.h"
#incl
www.eeworm.com/read/140545/13076945
cpp morebasicthreads.cpp
//: C11:MoreBasicThreads.cpp
// Adding more threads.
//{L} ZThread
#include "LiftOff.h"
#include "zthread/Thread.h"
using namespace ZThread;
using namespace std;
int main() {
const int sz
www.eeworm.com/read/140545/13076949
h diningphilosophers.h
//: C11:DiningPhilosophers.h
// Classes for Dining Philosohophers
#ifndef DININGPHILOSOPHERS_H
#define DININGPHILOSOPHERS_H
#include "zthread/Condition.h"
#include "zthread/Guard.h"
#include "zt
www.eeworm.com/read/140545/13076972
cpp deadlockingdiningphilosophers.cpp
//: C11:DeadlockingDiningPhilosophers.cpp
// Dining Philosophers with Deadlock
//{L} ZThread
#include "DiningPhilosophers.h"
#include "zthread/ThreadedExecutor.h"
#include
using namesp
www.eeworm.com/read/140545/13076982
cpp concurrentexecutor.cpp
//: C11:ConcurrentExecutor.cpp
//{L} ZThread
#include "zthread/ConcurrentExecutor.h"
#include "LiftOff.h"
using namespace ZThread;
using namespace std;
int main() {
try {
ConcurrentExe
www.eeworm.com/read/140545/13076992
cpp synchronousexecutor.cpp
//: C11:SynchronousExecutor.cpp
//{L} ZThread
#include "zthread/SynchronousExecutor.h"
#include "LiftOff.h"
using namespace ZThread;
using namespace std;
int main() {
try {
Synchronous
www.eeworm.com/read/140545/13076995
cpp threadedexecutor.cpp
//: c11:ThreadedExecutor.cpp
//{L} ZThread
#include "zthread/ThreadedExecutor.h"
#include "LiftOff.h"
using namespace ZThread;
using namespace std;
int main() {
try {
ThreadedExecutor
www.eeworm.com/read/140545/13076998
cpp basicthreads.cpp
//: C11:BasicThreads.cpp
// The most basic use of the Thread class.
//{L} ZThread
#include "LiftOff.h"
#include "zthread/Thread.h"
using namespace ZThread;
using namespace std;
int main() {
www.eeworm.com/read/126184/14439107
mac digitalmars.mac
CPP = dmc
CPPFLAGS = -Ae -Ar -I..\ZThread\include -DZT_WIN32=1 -w18
OFLAGS = -c
EXEFLAG = -o
OBJEXT = obj
LIBLINK = ..\ZThread\lib\\
.cpp.$(OBJEXT) :
$(CPP) $(CPPFLAGS) $(OFLAGS) $< -o $@
.$(