projects
/
~madcoder
/
pwqr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
c7cabb1
)
Prepare code to plug the overcommit notification.
author
Pierre Habouzit
<pierre.habouzit@intersec.com>
Sun, 15 Jan 2012 07:51:17 +0000
(08:51 +0100)
committer
Pierre Habouzit
<pierre.habouzit@intersec.com>
Sun, 15 Jan 2012 08:00:23 +0000
(09:00 +0100)
Let the pwqr_sb have a state (instead of yes/no "dead" flag) being among:
- DEAD
- NONE (normal)
- UC (undercommit)
- OC (overcommit).
In the last two modes a timer is fired.
In the UC case, if the timer fires, we unpark a thread (if any, and if no
overcommit unpark is pending) as before.
In the OC case for now we do nothing.
Signed-off-by: Pierre Habouzit <pierre.habouzit@intersec.com>
No differences found