1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

add isInterrupted() call and replace some checkInterrupt() occurrences

This commit is contained in:
Philipp Otterbein 2025-04-11 22:34:15 +02:00 committed by Jörg Thalheim
parent db297d3dda
commit 49f757c24a
4 changed files with 24 additions and 18 deletions

View file

@ -22,7 +22,12 @@ inline void setInterruptThrown()
/* Do nothing for now */
}
void inline checkInterrupt()
static inline bool isInterrupted()
{
/* Do nothing for now */
}
inline void checkInterrupt()
{
/* Do nothing for now */
}