//
using System;
using System.Collections.Generic;
+#if (COGBOT_LIBOMV || USE_STHREADS)
+using ThreadPoolUtil;
+using Thread = ThreadPoolUtil.Thread;
+using ThreadPool = ThreadPoolUtil.ThreadPool;
+using Monitor = ThreadPoolUtil.Monitor;
+#endif
using System.Threading;
using OpenMetaverse;
//
using System;
using System.Collections.Generic;
+#if (COGBOT_LIBOMV || USE_STHREADS)
+using ThreadPoolUtil;
+using Thread = ThreadPoolUtil.Thread;
+using ThreadPool = ThreadPoolUtil.ThreadPool;
+using Monitor = ThreadPoolUtil.Monitor;
+#endif
using System.Threading;
namespace Radegast.Commands
using System.Threading;
using OpenMetaverse;
using OpenMetaverse.Assets;
+#if (COGBOT_LIBOMV || USE_STHREADS)
+using ThreadPoolUtil;
+using Thread = ThreadPoolUtil.Thread;
+using ThreadPool = ThreadPoolUtil.ThreadPool;
+using Monitor = ThreadPoolUtil.Monitor;
+#endif
namespace Radegast.Media
{
using System.Collections.Generic;
using System.Linq;
using System.Text;
+#if (COGBOT_LIBOMV || USE_STHREADS)
+using ThreadPoolUtil;
+using Thread = ThreadPoolUtil.Thread;
+using ThreadPool = ThreadPoolUtil.ThreadPool;
+using Monitor = ThreadPoolUtil.Monitor;
+#endif
using System.Threading;
using System.IO;
using OpenMetaverse;
//
using System;
using System.Collections.Generic;
+#if (COGBOT_LIBOMV || USE_STHREADS)
+using ThreadPoolUtil;
+using Thread = ThreadPoolUtil.Thread;
+using ThreadPool = ThreadPoolUtil.ThreadPool;
+using Monitor = ThreadPoolUtil.Monitor;
+#endif
using System.Threading;
using System.Windows.Forms;
using OpenMetaverse;
if (res == DialogResult.OK)
{
- System.Threading.Thread t = new System.Threading.Thread(new System.Threading.ThreadStart(delegate()
+ Thread t = new Thread(new System.Threading.ThreadStart(delegate()
{
try
{
using System.Net;
using System.Text.RegularExpressions;
using System.IO;
+#if (COGBOT_LIBOMV || USE_STHREADS)
+using ThreadPoolUtil;
+using Thread = ThreadPoolUtil.Thread;
+using ThreadPool = ThreadPoolUtil.ThreadPool;
+using Monitor = ThreadPoolUtil.Monitor;
+#endif
using System.Threading;
using OpenMetaverse;
using OpenMetaverse.Http;
using System.Net;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
+#if (COGBOT_LIBOMV || USE_STHREADS)
+using ThreadPoolUtil;
+using Thread = ThreadPoolUtil.Thread;
+using ThreadPool = ThreadPoolUtil.ThreadPool;
+using Monitor = ThreadPoolUtil.Monitor;
+#endif
using System.Threading;
+
namespace Radegast
{
public class UpdateChecker : IDisposable