OSDN Git Service

buffered_file: Move from using a timer to use a thread
authorJuan Quintela <quintela@redhat.com>
Sun, 22 Jul 2012 23:56:50 +0000 (01:56 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 20 Dec 2012 22:09:18 +0000 (23:09 +0100)
commitc09f4cb2b3243085a86aee3c7ed4f31c77e4db87
tree4d018a1fba9b07ab16d130748ad70207d1fba1b6
parentb2a8658ef5dc57ea9e7a45091724a719dd4bdcd3
buffered_file: Move from using a timer to use a thread

We still protect everything except the wait with the iothread lock.
But we moved from a timer to a thread.  Steps one by one.

We also need to detect when we have finished with a variable "complete".

Signed-off-by: Juan Quintela <quintela@redhat.com>
buffered_file.c