Skip to content

Poco::Event::wait(timeout) should use CLOCK_MONOTONIC on Linux #1344

@obiltschnig

Description

@obiltschnig

Use pthread_condattr_setclock(attr, CLOCK_MONOTONIC) and clock_gettime(CLOCK_MONOTONIC, &ts) if available.
Also, if clock_gettime() instead of gettimeofday() if available.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions