| 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 |
|
508 |
InterruptCue() { } |
| 15 |
|
1016 |
virtual ~InterruptCue() { } |
| 16 |
|
21 |
virtual bool IsCanceled() { return false; } |
| 17 |
|
|
}; |
| 18 |
|
|
|
| 19 |
|
|
#endif // CVMFS_INTERRUPT_H_ |
| 20 |
|
|
|