target: add async algorithm entries to the target type
commit3f6ef7a40bcff5e1278b662248902c45a1dc8f81
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Fri, 15 Jul 2011 20:18:39 +0000 (15 22:18 +0200)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 8 Oct 2011 22:00:52 +0000 (9 00:00 +0200)
treecf3a506ae661ceb9fb4b83ee154e97ba70ac9ac8
parente56e5a3929a05d18e560c8e37f1985aeb4b95cc9
target: add async algorithm entries to the target type

On supported targets, this may be used to start a long running algorithm in
the background so the target may be interacted with during execution and
later wait for its completion.

The most obvious use case is a double buffered flash algorithm that can
upload the next block of data while the algorithm is flashing the current.

Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/target/target.c
src/target/target.h
src/target/target_type.h