On 2021-Mar-08, kuroda.hay...@fujitsu.com wrote:

> Dear Fujii-san, Miyake-san
> 
> > Isn't it better to accept even negative sleep time like currently pgbench 
> > does?
> > Otherwise we always need to check the variable is a positive integer
> > (for example, using \if command) when using it as the sleep time in \sleep
> > command. That seems inconvenient.
> 
> Both of them are acceptable for me.
> But we should write down how it works when the negative value is input if we 
> adopt.

Not sleeping at all seems a good reaction (same as for zero, I guess.)

-- 
Álvaro Herrera                            39°49'30"S 73°17'W
"XML!" Exclaimed C++.  "What are you doing here? You're not a programming
language."
"Tell that to the people who use me," said XML.


Reply via email to