Commit Graph
32 Commits
Author SHA1 Message Date
Henrik Rydgard c25cf61f54 Warning fix, delete broken Wait function in prio work queue 2013-12-12 12:07:09 +01:00
Unknown W. Brackets 9b6dc64387 Cut down on overhead from std::bind copies. 2013-12-08 13:39:05 -08:00
Henrik Rydgård feb521fd41 Add hacky Wait method to prioritizedworkqueue 2013-11-20 14:41:58 +01:00
Unknown W. Brackets 46bba78feb Avoid a mutex lock on a small parallel loop. 2013-11-06 07:47:05 -08:00
Sacha 60f1d1e3cb Clean up of unused or redundant code and comments. 2013-10-29 11:24:10 +10:00
Unknown W. Brackets adca06c696 Use guards, avoid the "not sure how" case. 2013-10-13 12:09:09 -07:00
Unknown W. Brackets 1b5c59db75 Correctly exit work queue on done, race condition fix.
done_ might've been set to true while processing the item, making the wait wait forever.
2013-10-13 11:59:43 -07:00
The Dax 26d037f4ad Put previously removed ifdef back, and add some comments with the reason why. Also clarify the situation with "C const func" in thread.h with a few comments. 2013-09-17 10:17:58 -04:00
The Dax 45c5da2b77 Ifdef it instead. 2013-07-29 18:55:52 -04:00
The Dax 08376fe8c2 Visual Studio 2012 build fix. 2013-07-29 18:46:23 -04:00
Sacha b7a01dc2fe Fix shared_ptr as well. 2013-06-02 22:58:55 +10:00
Sacha 0ef45bd23d Move C++11 functions to std namespace. 2013-06-02 22:25:57 +10:00
Sacha 58c40dabb1 Fix C++11 usage in native with platform-specific hacks. 2013-06-02 13:06:40 +10:00
Henrik Rydgard 5f659ce282 Add some network stuff (background downloader, URL splitter) 2013-05-31 23:04:42 +02:00
Henrik Rydgård f9ab24cb3d define changes for mac from vit6969. 2013-05-06 23:30:34 +02:00
Peter Thoman 5835fe293a When processing a parallel loop, save some context switching by processing one chunk on the calling thread 2013-05-03 14:27:34 +02:00
Sacha f9c50c822a Fix name collision by prefixing '::'. 2013-05-02 17:34:06 +10:00
Sacha 0388a8e23a Buildfix for Symbian. 2013-05-02 17:05:34 +10:00
Unknown W. Brackets 8d7fd41838 Buildfix for iOS. 2013-05-01 23:30:11 -07:00
Sacha eb3c3cd217 Use boost to do C++11 features on Symbian. Use namespaces. 2013-05-02 15:45:51 +10:00
Peter Thoman c75510b304 Eliminated lambda, undo debug compialtion changes 2013-05-01 16:06:54 +02:00
Peter Thoman c7399857e3 Fixed potential shutdown deadlock issue 2013-05-01 14:06:29 +02:00
Peter Thoman f0f0fd2b75 Forgot loop sequentialization 2013-05-01 13:20:25 +02:00
Peter Thoman 0fcf809d37 Added ThreadPool with parallel loop functionality 2013-05-01 13:18:25 +02:00
Peter Thoman dbff26fce5 Added NOMINMAX before including Windows.h in thread.h -- finally found where this came from 2013-05-01 13:15:52 +02:00
Sacha 56a1fb6278 Maemo/Harmattan actually support std::bind and not lambdas 2013-04-28 16:19:59 +10:00
Sacha 4d6df78162 Buildfix 2013-04-15 00:49:04 +10:00
Sacha 3199137b46 Use lambdas instead if we don't have C++11 support. 2013-04-14 23:08:51 +10:00
Henrik Rydgard 0d0ed1256b Add safety check in prio work queue 2013-04-14 12:24:28 +02:00
Henrik Rydgard 345180dcef Add queue flush ability. Fix VGrid wrapping in UI. Fix some strange java error. 2013-04-14 11:58:07 +02:00
Unknown W. Brackets 6e24983f8a iOS: Buildfix. 2013-04-13 12:51:15 -07:00
Henrik Rydgard 25711066df Add prioritizedworkqueue, thread stuff, ui tweaks, small optimizations in file util 2013-04-13 21:22:03 +02:00