| Directory: | cvmfs/ |
|---|---|
| File: | cvmfs/interrupt.h |
| Date: | 2025-10-26 02:35:25 |
| 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 | 447 | InterruptCue() { } | |
| 15 | 894 | virtual ~InterruptCue() { } | |
| 16 | 49 | virtual bool IsCanceled() { return false; } | |
| 17 | }; | ||
| 18 | |||
| 19 | #endif // CVMFS_INTERRUPT_H_ | ||
| 20 |