summaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2023-01-12 15:04:08 +1300
committerThomas Munro <tmunro@postgresql.org>2023-01-12 16:32:30 +1300
commit5a26c7b310b629f8893483cc3cce5bbfa7879115 (patch)
treebd8f0e2494e38c45b2e1fb99c1dfc835fc6e0793 /src/tutorial/advanced.source
parent7389aad63666a2cac18cd6d7496378d7f50ef37b (diff)
Refactor DetermineSleepTime() to use milliseconds.
Since we're not using select() anymore, we don't need to bother with struct timeval. We can work directly in milliseconds, which the latch API wants. Discussion: https://postgr.es/m/CA%2BhUKG%2BZ-HpOj1JsO9eWUP%2Bar7npSVinsC_npxSy%2BjdOMsx%3DGg%40mail.gmail.com
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions