proto-shell: rework task statemachine
authorFelix Fietkau <nbd@openwrt.org>
Sat, 21 Jan 2012 19:25:15 +0000 (20:25 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 21 Jan 2012 19:25:19 +0000 (20:25 +0100)
commita12081aa986c4cc878bf0480a5d0ffb986aed0c5
treeb39f201a5866bd374d89da69bed82ecb4ea58f7d
parentb8f0ce8319a43d629c8de86df6951892b7e8d813
proto-shell: rework task statemachine

Make handling setup/proto/teardown tasks more explicit and easier to read.
Should hopefully prevent some forms of deadlocks.
proto-shell.c