We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eae3f0 commit 6a9d591Copy full SHA for 6a9d591
src/util/rlimit.h
@@ -50,6 +50,7 @@ class reslimit {
50
bool inc();
51
bool inc(unsigned offset);
52
uint64_t count() const;
53
+ void reset_count() { m_count = 0; }
54
55
bool suspended() const { return m_suspend; }
56
inline bool not_canceled() const { return (m_cancel == 0 && m_count <= m_limit) || m_suspend; }
0 commit comments