tikv / yatp

Yet another thread pool in rust for both callbacks or futures.
Apache License 2.0
135 stars 32 forks source link

implement simple queue #8

Closed sticnarf closed 4 years ago

sticnarf commented 4 years ago

Based on #7 .

This PR implements a simple task queue with crossbeam deque. It has only one injector and supports stealing tasks from other workers.

Fixes #10