Add a comment warning against use of pg_usleep() for long sleeps.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jun 2013 18:43:10 +0000 (14:43 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 23 Jun 2013 18:43:10 +0000 (14:43 -0400)
commit8c1a71d36f5d667f3c2236e0e015a48f809ca240
treeab49a58a73858b7b69c3ffd26caca8bcdc97f45b
parent1f09121b4edee8b4d4cdd4ee0a8cffacee7b85f7
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.
src/port/pgsleep.c