Fix a couple of races in native protocol
authorLennart Poettering <lennart@poettering.net>
Sun, 5 Apr 2009 00:59:02 +0000 (02:59 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 5 Apr 2009 00:59:02 +0000 (02:59 +0200)
commit14e11e4533ddd60413af2d33325d2b603262029b
tree4753d32ef871ece6a8ae5e577df2ca82be25a4af
parent7dafa87b68c59aeb93c7244b33d9dc9f6e614970
Fix a couple of races in native protocol

Also make sure we account for recording memblock that are currently 'on
the fly' between the main and the IO thread.

Also makes a couple of timing calls that were done in different calls
in a single inter-thread call. That way there is a better guarantee that
they match up.
src/pulsecore/protocol-native.c