Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
) * feature: add a simple scheduler using flume Signed-off-by: ZhuZiyi <[email protected]> * fix: only use a sender rather clone many senders Signed-off-by: ZhuZiyi <[email protected]> * fix: use select to avoid loop Signed-off-by: ZhuZiyi <[email protected]> * feat: add parameters in new function to build the flume capacity and number of receivers Signed-off-by: ZhuZiyi <[email protected]> * test: add countdownlatch test concurrency Signed-off-by: ZhuZiyi <[email protected]> * test: add barrier replacing countdownlatch to test concurrency and add wait all tasks finished in stop Signed-off-by: ZhuZiyi <[email protected]> * chore: add some document annotation Signed-off-by: ZhuZiyi <[email protected]> * chore: add license header Signed-off-by: ZhuZiyi <[email protected]> * chore: code format Signed-off-by: ZhuZiyi <[email protected]> * chore: add Cargo.lock Signed-off-by: ZhuZiyi <[email protected]> * chore: Cargo.toml format Signed-off-by: ZhuZiyi <[email protected]> * chore: delete println in test Signed-off-by: ZhuZiyi <[email protected]> * chore: code format Signed-off-by: ZhuZiyi <[email protected]> * chore: code format Signed-off-by: ZhuZiyi <[email protected]> * feat: add error handle Signed-off-by: ZhuZiyi <[email protected]> * fix: fix error handle and add test scheduler stop Signed-off-by: ZhuZiyi <[email protected]> * chore: spelling mistake Signed-off-by: ZhuZiyi <[email protected]> * fix: wait all tasks finished Signed-off-by: ZhuZiyi <[email protected]> * chore: add todo which need wrap Future returned by send_async Signed-off-by: ZhuZiyi <[email protected]> * chore: code format Signed-off-by: ZhuZiyi <[email protected]> * test: remove unnessary sleep in test Signed-off-by: ZhuZiyi <[email protected]> * fix: resolve some conflicts Signed-off-by: ZhuZiyi <[email protected]> * fix: resolve conversation Signed-off-by: ZhuZiyi <[email protected]> * chore: code format Signed-off-by: ZhuZiyi <[email protected]> * chore: code format Signed-off-by: ZhuZiyi <[email protected]> * feat: modify the function of schedule to synchronize and drop sender after stopping scheduler Signed-off-by: ZhuZiyi <[email protected]> --------- Signed-off-by: ZhuZiyi <[email protected]>
- Loading branch information