tree: b8c99ead53eabf72ba1ec5967547eaa0bf3f66cd [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.