command.py: Move triggerEvent to command async class
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 29 Mar 2012 12:01:11 +0000 (20:01 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Mar 2012 20:25:53 +0000 (21:25 +0100)
commit1e5b941728dd54a2de9a477655dfcaea88bd0f26
tree3fa000adff811e863d01ee79874edf15fab04673
parentdc6d81356840c450d0ef7f0cfbf7a09fab95763c
command.py: Move triggerEvent to command async class

The parameters in triggerEvent function is an event object, and it may
cost some time to pass this object through pipe, causing the pipe's
poll() function timeout. Change it to async mode.

(Bitbake rev: 3b5909ebc86a12dedfb30e5446aa81eb58921760)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/command.py