8000 GitHub - yizhiren/ModernThreadManager: thread manager based on modern thread
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yizhiren/ModernThreadManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ModernThreadManager

thread manager based on modern c++11 thread.

usage

	MThreadsMgr& mthreadsmgr = MThreadsMgr::instance();
	auto mthreads = mthreadsmgr.createMThreads("simpleusage",10);
	auto mfuture = mthreads->enqueue([]{
		std::this_thread::sleep_for(std::chrono::seconds(1));
		return 1;
	});
	std::cout << mfuture.get() << std::endl;

Build Status

About

thread manager based on modern thread

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0