Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CLuCheng/ThreadPool

Repository files navigation

ThreadPool

C++ simpale ThreadPool

  • support sync call in the same thread. the calling thread need to waits for the worker thread.

    worker.sync_call([]{
     int ans = 0;
     for(int i = 1; i <= 100; i++)
     	ans += i;
     return ans;
    });
    
  • support async call in the same thread. the calling thread does not need to wait for the worker thread.

    worker.async_call([]{
     do_something();
    });
    

About

C++ simpale ThreadPool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /