diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-08-22 18:02:12 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-08-24 07:02:55 +0200 |
commit | a560a6211868d517908f44e1ea90336b18cdb97d (patch) | |
tree | 1c62c252a127a3b7ffddaec918e0024f64f4ef94 /editor/icons/icon_segment_shape_2d.svg | |
parent | b4ad899ef64df6e341a4cbe52a15109cd3d6b2eb (diff) |
Make OS::delay_usec() more reliable on UNIX
Implemented with `nanosleep()`. `usleep()` is deprecated.
Also loops to ensure that __at least__ the requested time is waited, accounting for spurious interruptions.
May help in situations like reattempting to connect to the debugger.
Diffstat (limited to 'editor/icons/icon_segment_shape_2d.svg')
0 files changed, 0 insertions, 0 deletions