Commit Graph
9 Commits
Author SHA1 Message Date
Dmitry Potapov e9a6400785 Dispatcher should process a higher-priority task
When a higher-priority tasked appeared in the dispatcher queue, the
dispatcher stopped processing of the current queue but moved to a low
priority queue instead of processing the most high priority queue.
2014-02-03 02:07:44 +04:00
Dmitry Potapov 0dc598dfe6 InvalidOperationException in Dispatcher.RunFrame
When a Dispatcher exits due to 'frame.Continue' being false, it does not
clear queue_bits. As result, the next run of the Dispatcher could try to
dequeue a non-existing dispatcher operation.
2014-02-03 01:57:20 +04:00
Dmitry Potapov 3479f368e8 Dispatcher should stop if Continue is false
If the dispatcher encounters that frame.Continue is false, it should return
immediately and do not try to execute anything. The unit test may be seen as
rather artificial, but the problem may happen in more realistic situations
when frames are unwound.
2014-02-03 01:48:32 +04:00
Dmitry Potapov ed448193fb Dispatcher: Run() can be used more than once
When Run() was invoked a second time, main_execution_frame had the Continue
flag set to false. So it did not work correctly.
2014-02-03 01:41:42 +04:00
Dmitry Potapov 0a339c31a3 Dispatcher.PushFrame: clean references before return
The dispatcher did not clean references before returning, therefore
the second call to Dispatcher.Run() failed.
2014-02-02 23:55:12 +04:00
Dmitry Potapov 38a1e8d3bd Fix src and dest indexes in DispatcherOperation ctor
The source and the destination indexes are confused. The source index, which
is the second parameter, should be 0 and the destination index, which is the
fourth parameter, should be 1.
2014-02-02 22:40:55 +04:00
Miguel de Icaza 5e52dab0a6 Put WindowsBase on mcs/class for System.IO.Packaging
svn path=/trunk/mcs/; revision=141398
2009-09-06 23:19:06 +00:00
Miguel de Icaza fd4cade468 move back to olive
svn path=/trunk/mcs/; revision=118141
2008-11-06 19:14:34 +00:00
Alan McGovern d72e4c702f Moving WindowsBase into the mcs tree
svn path=/trunk/mcs/; revision=117800
2008-11-03 19:30:08 +00:00