]> git.tuebingen.mpg.de Git - paraslash.git/commit
sched: Introduce task_status().
authorAndre Noll <maan@systemlinux.org>
Tue, 31 Dec 2013 17:22:57 +0000 (17:22 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 25 May 2014 13:39:01 +0000 (15:39 +0200)
commitba0c0797c76a2c94cb4a9f6938274fea5ba0226f
tree910cff66efb3e98af7b1bef95625edffae59270f
parent5254df7e470dc49a29f91fa8185b98c40246f5ea
sched: Introduce task_status().

Before struct task can be made private to sched.c we must eliminate
code which directly accesses the fields of this structure. The last
offender is ->error: in many places we check this field to detect
whether some task is in an error condition.

This patch provides a public accessor function, task_status(),
for this purpose. All users of ->error are modified to call this
function instead.
audiod.c
client.c
interactive.c
play.c
sched.c
sched.h
write.c