Pool<T>: Allow a maximum pool size
This commit is contained in:
parent
e292144d46
commit
d5626bf4c1
4 changed files with 74 additions and 33 deletions
|
@ -126,6 +126,7 @@ void initNix()
|
|||
std::cerr.rdbuf()->pubsetbuf(buf, sizeof(buf));
|
||||
#endif
|
||||
|
||||
// FIXME: do we need this? It's not thread-safe.
|
||||
std::ios::sync_with_stdio(false);
|
||||
|
||||
if (getEnv("IN_SYSTEMD") == "1")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue