summaryrefslogtreecommitdiffstats
path: root/src/shared/async.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shutdown: teach sync_with_progress() to optionally sync a specific fd onlyLennart Poettering2024-09-091-0/+1
| | | | | This is preparation for reusing the logic for syncing DM and other devices with a timeout applied.
* async: add explanatory commentLennart Poettering2023-06-231-0/+13
|
* async: drop the now unused asynchronous_job()Lennart Poettering2023-06-231-2/+0
|
* async: add generic implementation of asynchronous_rm_rf()Lennart Poettering2023-06-231-0/+2
| | | | | | | This one doesn't use threads anymore. This is the last use of threads in PID 1. Yay! Fixes: #27287
* shared: move async.[ch] from src/basic/ → src/shared/Lennart Poettering2023-06-231-0/+13
| | | | | That way we can later add an async wrapper for rm_rf() which is in src/shared/, too.
* build-sys: split internal basic/ library from shared/Kay Sievers2015-06-111-27/+0
| | | | | | | | | | basic/ can be used by everything cannot use anything outside of basic/ libsystemd/ can use basic/ cannot use shared/ shared/ can use libsystemd/
* build-sys: move async.[ch] to src/sharedLennart Poettering2014-05-051-0/+27
So that we can use it at multiple places.