OpenSimMirror/OpenSim
Justin Clark-Casey (justincc) 7cacf5f8a0 Use an integer when specifying the XWorkItem wait rather than a TimeSpan to avoid a Windows casting issue in SmartThreadPool for large TimeSpans.
TimeSpan.Milliseconds is an int64.  However, STP casts this to an int (32-bit).
If TimeSpan.MaxValue is given then the casting results in an invalid value for the SDK WaitHandle.WaitAll() call.
This was causing the co-op script termination regression tests to fail on Windows but not Mono 2.10.8 (which is perhaps not strict in the negative values that it accepts).
Solution here is to use the int millisecondsTimeout STP call rather than the TimeSpan one.
This also allows us to more clearly specify Timeout.Infinite rather than TimeSpan.MaxValue
Thanks to Teravus for this spot.
2013-02-20 23:34:59 +00:00
..
ApplicationPlugins Remove unnecessary ability to directly set InventoryItemBase.CreatorIdAsUuid 2012-11-28 03:21:23 +00:00
Capabilities minor: change method doc on GetTextureHandler.TryParseRange(), mainly to trigger another build 2012-12-12 00:39:39 +00:00
ConsoleClient Where possible, use the system Encoding.ASCII and Encoding.UTF8 rather than constructing fresh copies. 2012-07-11 22:54:22 +01:00
Data Added locking in NullRegionData. 2013-01-24 01:22:54 +00:00
Framework Fixed ReadSculptData(): the check whether there are enough bytes to read was incorrect 2013-02-20 23:22:29 +00:00
Region Use an integer when specifying the XWorkItem wait rather than a TimeSpan to avoid a Windows casting issue in SmartThreadPool for large TimeSpans. 2013-02-20 23:34:59 +00:00
Server Print full stacktrace from plugin loading failure to help determine what went wrong, rather than a possibly unhelpful simple exception message. 2013-01-24 01:35:08 +00:00
Services Fixed check for 0 results in GetUserAccounts() 2013-02-20 23:22:22 +00:00
Tests Add TestJsonWriteReadNotecard() regression test 2013-02-20 23:00:08 +00:00
Tools Fix a bug in pCampbot grabbing behaviour where an exception would be thrown if the bot was not yet aware of any objects. 2012-08-01 22:30:34 +01:00