Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | QtConcurrent::IterateKernel: fix a race on a cache variable | Marc Mutz | 2013-09-26 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | getticks() can be called concurrently, so accessing a non-atomic static long, even when the assignment will produce the same value in evey case, constitutes a data race. Fixed by making 'useThreadCpuTime' atomic. Since atomic long's might not be supported on all platforms, use an atomic int instead. To avoid a narrowing conversion, and since we're not interested in the return value of sysconf(), only whether it succeeded, convert any non-error return value to 0 prior to storing in the atomic. Change-Id: Ic285f7801327b30ddcd9c24bf1ccee3112a447b1 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> | ||||
* | Update copyright year in Digia's license headers | Sergio Ahumada | 2013-01-18 | 1 | -1/+1 |
| | | | | | Change-Id: Ic804938fc352291d011800d21e549c10acac66fb Reviewed-by: Lars Knoll <lars.knoll@digia.com> | ||||
* | Change copyrights from Nokia to Digia | Iikka Eklund | 2012-09-22 | 1 | -24/+24 |
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: If1cc974286d29fd01ec6c19dd4719a67f4c3f00e Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> | ||||
* | Move QtConcurrent into its own module | Lars Knoll | 2012-02-05 | 1 | -0/+194 |
Task-number: QTBUG-20892 Change-Id: I614500aafb6428915509983608bbb0ade4e4f016 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> |