Use function binding generator from QtConcurrent.
authorChristian Kamm <christian.d.kamm@nokia.com>
Mon, 22 Mar 2010 16:34:13 +0000 (17:34 +0100)
committerChristian Kamm <christian.d.kamm@nokia.com>
Fri, 26 Mar 2010 12:05:02 +0000 (13:05 +0100)
commit9a87cb5347a888a104cab47c17f05f1f0aa7a133
tree4c247ab28ab0d067a55f90fde1061ad88d05a90f
parent883dee678eca4f55faf3848a248253d4b4b8a40e
Use function binding generator from QtConcurrent.

* Copy tools/codegenerator and tools/generatebuild from QtConcurrent
  and adapt for Coroutines. This allows coroutines from various callables
  to be created with a call to build(...).
* Add initial tests.
* Fix incorrect use of QThreadStorage.
* Fix severe typo in Coroutine::yieldHelper.
17 files changed:
coroutine.pro
src/coroutine.cpp
src/coroutine.h
src/coroutinebuild.h [new file with mode: 0644]
src/coroutinestoredfunctioncall.h [new file with mode: 0644]
src/src.pro
tests/auto/auto.pro [new file with mode: 0644]
tests/auto/basic/basic.pro [new file with mode: 0644]
tests/auto/basic/tst_basic.cpp [new file with mode: 0644]
tests/auto/build/build.pro [new file with mode: 0644]
tests/auto/build/tst_build.cpp [new file with mode: 0644]
tests/tests.pro [new file with mode: 0644]
tools/codegenerator/codegenerator.pri [new file with mode: 0644]
tools/codegenerator/src/codegenerator.cpp [new file with mode: 0644]
tools/codegenerator/src/codegenerator.h [new file with mode: 0644]
tools/generatebuild/main.cpp [new file with mode: 0644]
tools/generatebuild/run.pro [new file with mode: 0644]