DelayedAsyncCalls.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#ifndef SQUID_BASE_DELAYEDASYNCCALLS_H
10#define SQUID_BASE_DELAYEDASYNCCALLS_H
11
12#include "base/AsyncCallList.h"
13
17{
18public:
20
22 void delay(const AsyncCallPointer &);
23
25 void schedule();
26
27private:
30};
31
32#endif /* SQUID_BASE_DELAYEDASYNCCALLS_H */
33
void schedule()
schedules and forgets all async calls previously stored by delay()
void delay(const AsyncCallPointer &)
stores the given call to schedule it at schedule() or destruction time
AsyncCallList deferredReads
delay()-ed calls waiting to be scheduled, in delay() call order

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors