diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-04-25 17:07:31 +0800 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-04-25 17:07:31 +0800 |
commit | b747b97984784a82724e538942854b89d3309006 (patch) | |
tree | 344ecb6d4c86c698b0ad68934ee61f35372c6aee /src/empathy-logs.c | |
parent | c982861667c0441419ee4fdee2ea399ef8f26416 (diff) | |
download | gsoc2013-empathy-b747b97984784a82724e538942854b89d3309006.tar gsoc2013-empathy-b747b97984784a82724e538942854b89d3309006.tar.gz gsoc2013-empathy-b747b97984784a82724e538942854b89d3309006.tar.bz2 gsoc2013-empathy-b747b97984784a82724e538942854b89d3309006.tar.lz gsoc2013-empathy-b747b97984784a82724e538942854b89d3309006.tar.xz gsoc2013-empathy-b747b97984784a82724e538942854b89d3309006.tar.zst gsoc2013-empathy-b747b97984784a82724e538942854b89d3309006.zip |
Fix a theoretical race listing pending messages
If you call ListPendingMessages before connecting to Received, the
following could theoretically occur:
Empathy --- ListPendingMessages --> CM
Empathy <-- LPM returns --- CM
<----- CM -----> Received
Empathy connects to Received
and thus you could miss a message. Connecting to Received before calling
ListPendingMessages avoids this (mostly theoretical) bug.
Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
Diffstat (limited to 'src/empathy-logs.c')
0 files changed, 0 insertions, 0 deletions