Directory: | cvmfs/ |
---|---|
File: | cvmfs/interrupt.h |
Date: | 2025-02-09 02:34:19 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 3 | 3 | 100.0% |
Branches: | 0 | 0 | -% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | /** | ||
2 | * This file is part of the CernVM File System. | ||
3 | */ | ||
4 | |||
5 | #ifndef CVMFS_INTERRUPT_H_ | ||
6 | #define CVMFS_INTERRUPT_H_ | ||
7 | |||
8 | /** | ||
9 | * Allows to query for interrupts of active file system requests. Used | ||
10 | * to handle canceled fuse requests with the inherited class FuseInterruptCue. | ||
11 | */ | ||
12 | class InterruptCue { | ||
13 | public: | ||
14 | 15 | InterruptCue() { } | |
15 | 30 | virtual ~InterruptCue() { } | |
16 | 1 | virtual bool IsCanceled() { return false; } | |
17 | }; | ||
18 | |||
19 | #endif // CVMFS_INTERRUPT_H_ | ||
20 |