diff options
Diffstat (limited to 'src/rototiller.c')
-rw-r--r-- | src/rototiller.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rototiller.c b/src/rototiller.c index 18f0376..2a3d45c 100644 --- a/src/rototiller.c +++ b/src/rototiller.c @@ -75,6 +75,13 @@ int rototiller_init(void) } +/* wait for all threads to be idle */ +void rototiller_quiesce(void) +{ + threads_wait_idle(rototiller_threads); +} + + void rototiller_shutdown(void) { threads_destroy(rototiller_threads); |