~johannes-rudolph/do/main

« back to all changes in this revision

Viewing changes to Do.Platform/src/Do.Platform/Do.Platform.Default/DefaultApplicationService.cs

  • Committer: Alex Launi
  • Date: 2009-06-27 17:56:06 UTC
  • mfrom: (1231.1.2 thread)
  • Revision ID: alex.launi@gmail.com-20090627175606-si7463yn04u01pbd
Merge change to return thread created from RunOnThread

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
using System;
21
21
using System.IO;
22
22
using System.Collections.Generic;
 
23
using System.Threading;
23
24
 
24
25
using Do.Universe;
25
26
 
35
36
                        }
36
37
                }
37
38
 
38
 
                public override void RunOnThread (Action action)
 
39
                public override Thread RunOnThread (Action action)
39
40
                {
40
41
                        Log<DefaultApplicationService>.Debug ("Cannot run action on a thread.");
41
42
                        action ();
 
43
                        return null;
42
44
                }
43
45
 
44
46
                public override void RunOnMainThread (Action action)