diff options
author | Tedd Hansen | 2008-02-02 07:53:13 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-02 07:53:13 +0000 |
commit | 785b641272f0e41c50d42406496baee10e5303a9 (patch) | |
tree | f6e37734d8e5b5e98d1dbf7e6a01b82b41773ea2 /OpenSim/Tools | |
parent | Added commands to change config file from console: (diff) | |
download | opensim-SC_OLD-785b641272f0e41c50d42406496baee10e5303a9.zip opensim-SC_OLD-785b641272f0e41c50d42406496baee10e5303a9.tar.gz opensim-SC_OLD-785b641272f0e41c50d42406496baee10e5303a9.tar.bz2 opensim-SC_OLD-785b641272f0e41c50d42406496baee10e5303a9.tar.xz |
fixed a timing bug in config re-read. Apparently there is 1000000000 ns in one second...
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tools/OpenSim.32BitLaunch/Program.cs | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/OpenSim/Tools/OpenSim.32BitLaunch/Program.cs b/OpenSim/Tools/OpenSim.32BitLaunch/Program.cs index afd7754..c15b738 100644 --- a/OpenSim/Tools/OpenSim.32BitLaunch/Program.cs +++ b/OpenSim/Tools/OpenSim.32BitLaunch/Program.cs | |||
@@ -1,10 +1,30 @@ | |||
1 | namespace OpenSim._32BitLaunch | 1 | using System; |
2 | |||
3 | namespace OpenSim._32BitLaunch | ||
2 | { | 4 | { |
3 | class Program | 5 | class Program |
4 | { | 6 | { |
5 | static void Main(string[] args) | 7 | static void Main(string[] args) |
6 | { | 8 | { |
7 | OpenSim.Application.Main(args); | 9 | System.Console.WriteLine("32-bit OpenSim executor"); |
10 | System.Console.WriteLine("-----------------------"); | ||
11 | System.Console.WriteLine(""); | ||
12 | System.Console.WriteLine("This application is compiled for 32-bit CPU and will run under WOW32 or similar."); | ||
13 | System.Console.WriteLine("All 64-bit incompatibilities should be gone."); | ||
14 | System.Console.WriteLine(""); | ||
15 | System.Threading.Thread.Sleep(300); | ||
16 | try | ||
17 | { | ||
18 | OpenSim.Application.Main(args); | ||
19 | } | ||
20 | catch (Exception ex) | ||
21 | { | ||
22 | System.Console.WriteLine("OpenSim threw an exception:"); | ||
23 | System.Console.WriteLine(ex.ToString()); | ||
24 | System.Console.WriteLine(""); | ||
25 | System.Console.WriteLine("Application will now terminate!"); | ||
26 | System.Console.WriteLine(""); | ||
27 | } | ||
8 | } | 28 | } |
9 | } | 29 | } |
10 | } | 30 | } |