diff options
author | rowanbeentje <rowan@beent.je> | 2010-09-03 01:42:16 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-09-03 01:42:16 +0000 |
commit | 4aaa7dda2d01afbebb9f7c2a6ba8537a3206858a (patch) | |
tree | 593f08dac8ecbd3a9d06b8d768f863d4bcaa73d7 /Source/SPAppController.h | |
parent | b66f9afbcd48b62d8adc3cfc5f27da099b129646 (diff) | |
download | sequelpro-4aaa7dda2d01afbebb9f7c2a6ba8537a3206858a.tar.gz sequelpro-4aaa7dda2d01afbebb9f7c2a6ba8537a3206858a.tar.bz2 sequelpro-4aaa7dda2d01afbebb9f7c2a6ba8537a3206858a.zip |
Update background keepalive pings:
- Fully lock the connection for background pings; this may slow down queries after connection disuse (when the keepalive is still active/blocked), but strengens thread safety to hopefully fix vio_delete crashes
- Fix pthread_cancel use; previously pthread_cancel after a keepalive may have resulted in cancelling unrelated threads where the thread ID was reused
This should increase stability and improve program consistency.
Diffstat (limited to 'Source/SPAppController.h')
0 files changed, 0 insertions, 0 deletions