aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-03-08 10:11:29 +0000
committerrowanbeentje <rowan@beent.je>2010-03-08 10:11:29 +0000
commitc10728213ede7dbdd37493aca9657ab4010edbdc (patch)
tree0a474d090b87c5d833e77b75654871de040293ad /Source/SPNarrowDownCompletion.m
parentd638ce370f202cb9d8338eeb3f981d9f70f548ff (diff)
downloadsequelpro-c10728213ede7dbdd37493aca9657ab4010edbdc.tar.gz
sequelpro-c10728213ede7dbdd37493aca9657ab4010edbdc.tar.bz2
sequelpro-c10728213ede7dbdd37493aca9657ab4010edbdc.zip
Rework MCPConnection for greater thread safety:
- The delegate is now triggered for connectionLost: on the main thread, as this action will probably trigger a GUI update; this addresses http://log.sequelpro.com/view/10 . - Connection proxy disconnects are now triggered on the main thread - Connection checks are now made via a pthread'd ping in a loop, removing the reliance on SIGALRM which may hop thread execution back to the main thread when called on another thread. The new approach is cleaner but does rely on a loop with a sleep. This will hopefully improve the disconnect/retry/reconnect crashes.
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
0 files changed, 0 insertions, 0 deletions