From c307e0e4a7ddf0b07f2b0662fe55adc31b64b393 Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Fri, 30 Jan 2009 20:54:38 +0000
Subject: * Extend archive save test to check for the presence of the file for
the object that was in the scene * Can now pass in a wait handle to
ArchiveRegion() if you want same thread signalling that the save has
completed
---
OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
(limited to 'OpenSim/Region/Environment/Interfaces')
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs b/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs
index 7db784e..d9f8c08 100644
--- a/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs
+++ b/OpenSim/Region/Environment/Interfaces/IRegionArchiverModule.cs
@@ -26,6 +26,7 @@
*/
using System.IO;
+using System.Threading;
namespace OpenSim.Region.Environment.Interfaces
{
@@ -44,12 +45,11 @@ namespace OpenSim.Region.Environment.Interfaces
/// Archive the region to a stream.
///
///
- /// This may be a little problematic to use right now since saves happen asynchronously and there is not yet
- /// a mechanism to signal completion to the caller (possibly other than continually checking whether the
- /// stream has any data in it). TODO: Address this.
- ///
///
- void ArchiveRegion(Stream saveStream);
+ ///
+ /// Pass in a wait handle if you want to be signalled when the operation completes.
+ ///
+ void ArchiveRegion(Stream saveStream, EventWaitHandle waitHandle);
///
/// Dearchive the given region archive into the scene
--
cgit v1.1