mirror of
https://github.com/NixOS/nix.git
synced 2025-12-01 22:50:59 +01:00
add isInterrupted() call and replace some checkInterrupt() occurrences
This commit is contained in:
parent
db297d3dda
commit
49f757c24a
4 changed files with 24 additions and 18 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue