summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/psql/qsql_psql.cpp
diff options
context:
space:
mode:
authorThiago Macieira <[email protected]>2013-03-30 10:52:52 -0700
committerThe Qt Project <[email protected]>2013-04-02 19:01:32 +0200
commitdcf9c403ba8e903bb52a6fb656c7e2de23383c10 (patch)
tree28510b63b6818dc9b53aed88a40dcf8acc80ab14 /src/sql/drivers/psql/qsql_psql.cpp
parent2fbe972a656cf218e5b48c018618e464c878840c (diff)
Use Bionic's __pthread_cond_timedwait_relative
The Linux futex interface uses relative timeouts anyway, so this avoids a double round-trip through clock_gettime: once in Qt code to calculate absolute from relative and once in libc for reversing. Glibc does not offer such a function because its pthread_cond objects use a kernel interface that works on absolute times. Change-Id: I8fbcd3f73d4364a16716b0eea17e8f5f9ab5cd05 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/sql/drivers/psql/qsql_psql.cpp')
0 files changed, 0 insertions, 0 deletions