Add a comment warning against use of pg_usleep() for long sleeps.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8c1a71d36f5d667f3c2236e0e015a48f809ca240
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-06-23T18:43:10Z
Releases: 9.4.0
Add a comment warning against use of pg_usleep() for long sleeps.

Follow-up to commit 873ab97219caabeb2f7b390268a4fe01e2b7518c, in which
I noted that WaitLatch was a better solution in the commit log message,
but neglected to add any documentation in the code.

Files

PathChange+/−
src/port/pgsleep.c modified +10 −0