from Wiktionary, Creative Commons Attribution/Share-Alike License.
- adverb In an
from Wiktionary, Creative Commons Attribution/Share-Alike License
The routine wait_for_completion (struct completion * comp) makes the calling task sleep uninterruptibly unless the completion has happened.
But be cautious of cases where the wakeup call on the process sleeping uninterruptibly could not happen for some reason, making the process unkillable, which will eventually cause frustration since the only way out is a system reboot.