MWL#182: Explain running statements

- Address feedback from the second code review.
This commit is contained in:
Sergey Petrunya 2012-07-17 21:52:08 +04:00
commit 2368f8895d
12 changed files with 201 additions and 184 deletions

View file

@ -1,3 +1,5 @@
#ifndef INCLUDES_MY_APC_H
#define INCLUDES_MY_APC_H
/*
Copyright (c) 2011 - 2012, Monty Program Ab
@ -93,7 +95,7 @@ private:
We use this structure, because we
- process requests sequentially: requests are added at the end of the
list and removed from the front. With circular list, we can keep one
pointer.
pointer, and access both front an back of the list with it.
- a thread that has posted a request may time out (or be KILLed) and
cancel the request, which means we need a fast request-removal
operation.
@ -132,3 +134,5 @@ private:
void init_show_explain_psi_keys(void);
#endif
#endif //INCLUDES_MY_APC_H