summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Mingw32 fixes.HEADmasterChristian Kamm2010-04-083-7/+6
|
* Build proper named libs on windows/macOlli Werwolff2010-03-302-0/+53
| | | | Done-with: ckamm
* Make 'make install' work.Christian Kamm2010-03-303-1/+13
| | | | | | | You can now set a PREFIX qmake variable to change the default install path. Done-with: owolff
* Add license headers.Christian Kamm2010-03-2623-119/+1017
|
* Export symbols correctly.Christian Kamm2010-03-263-1/+20
|
* Add benchmark for context switching.Christian Kamm2010-03-263-1/+33
|
* Store the root coroutine in its own QThreadStorage to guarantee deletion.Christian Kamm2010-03-261-0/+7
| | | | | Previously, each thread that used coroutines leaked the root coroutine on exit.
* Add notes about the 'root' coroutine in the docs.Christian Kamm2010-03-261-1/+8
|
* Rename _previousCoroutine -> _caller.Christian Kamm2010-03-262-8/+8
|
* Add tests for stack reusing.Christian Kamm2010-03-261-0/+57
|
* Add more complex test.Christian Kamm2010-03-261-0/+82
|
* Fix example in documentation.Christian Kamm2010-03-261-2/+2
|
* More documentation work: add a docs make target.Christian Kamm2010-03-2610-39/+548
|
* More documentation.Christian Kamm2010-03-262-11/+37
|
* Documentation.Christian Kamm2010-03-261-2/+32
|
* Create a default stack if the user doesn't.Christian Kamm2010-03-263-13/+17
|
* Separate stack creation from construction.Christian Kamm2010-03-268-261/+269
| | | | | This allows having either a convenient Coroutine-owned stack or passing in stack memory manually.
* Make Coroutine non-copyable.Christian Kamm2010-03-261-0/+4
| | | | | While it's possible to make a copy of a coroutine, it should have more explicit syntax.
* Documentation updates.Christian Kamm2010-03-263-6/+24
|
* Make build() function static inside Coroutine.Christian Kamm2010-03-267-105/+255
|
* Add .gitignore.Christian Kamm2010-03-261-0/+6
|
* Use function binding generator from QtConcurrent.Christian Kamm2010-03-2617-26/+1635
| | | | | | | | | * 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.
* Rename Fiber -> Coroutine.Christian Kamm2010-03-265-140/+140
| | | | | * Avoid confusion with Windows fibers. * Easier to search for.
* Use thread local storage for active fiber. Don't require inheritance.Christian Kamm2010-03-262-42/+44
|
* Initial implementation.Christian Kamm2010-03-2613-0/+665