diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-07 10:03:30 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-07 11:20:14 -0800 |
| commit | 8fa3b2aa8e9191669f137be39ba61ad39243483a (patch) | |
| tree | 8c9e39ab5bbcce38a1bbe78a2badb1145e481aae /src/core/errors_test.c | |
| parent | a02b1c7040c77f2549bfee16af36688f6b20ae63 (diff) | |
| download | nng-8fa3b2aa8e9191669f137be39ba61ad39243483a.tar.gz nng-8fa3b2aa8e9191669f137be39ba61ad39243483a.tar.bz2 nng-8fa3b2aa8e9191669f137be39ba61ad39243483a.zip | |
aio: separate stop / shutdown from fini (deallocate)
Probably other subsystems should get the same treatment. We need
to basically start the process of shutting down so that subsystems
know to cease operation before we rip memory out from underneath them.
This ensures that no new operations can be started as well, once we
have begun the process of teardown.
We also enhanced the completion of sleep to avoid some extra locking
contention, since the expiration *is* the completion.
Includes a test for this case.
Diffstat (limited to 'src/core/errors_test.c')
0 files changed, 0 insertions, 0 deletions
