tree: 4e6607665ec46be8db5d78d080bab89754a0ea2e [path history] [tgz]
  1. README.md
  2. thread_pool.cc
  3. xmake.lua
sdk/lib/thread_pool/README.md

Simple thread pool

This directory provides a simple thread pool that demonstrates the use of sealing and messages queues. This provides an async() function that takes a lambda and will execute it in another thread. Note that the lambda must not capture any variables with automatic storage or it will fault on execution.