summaryrefslogtreecommitdiff
path: root/editor/pvrtc_compress.h
diff options
context:
space:
mode:
authorLorenz Junglas <lolleko@users.noreply.github.com>2020-10-12 16:27:31 +0200
committerLorenz Junglas <lolleko@users.noreply.github.com>2020-10-12 16:27:31 +0200
commit1107c7f327f6d14010b4bd45b25e3c47f89b9948 (patch)
treee98f9a38594140b424c4a0cecda73612de88be9a /editor/pvrtc_compress.h
parentab0907c1bab2b1f4131aa63d24f9d337692d64a6 (diff)
Fix nanosleep usage
nanosleep returns 0 or -1 not the error code. The error code "EINTR" (if encountered) is placed in errno, in which case nanosleep can be safely recalled with the remaining time. This is required, so that nanosleep continues if the calling thread is interrupted by a signal. See manpage nanosleep(2) for additional details.
Diffstat (limited to 'editor/pvrtc_compress.h')
0 files changed, 0 insertions, 0 deletions