66 lines
1.9 KiB
C#
66 lines
1.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace skyscraper5.Data.PostgreSql
|
|
{
|
|
public partial class PostgresqlDataStore
|
|
{
|
|
private bool _isWaitingForCompletion;
|
|
public void WaitForCompletion()
|
|
{
|
|
if (_writerThread != null)
|
|
{
|
|
if (_writerThread.IsAlive)
|
|
{
|
|
Console.WriteLine("database still busy");
|
|
if (_writerThread == null)
|
|
return;
|
|
_isWaitingForCompletion = true;
|
|
_writerThread.Join();
|
|
_isWaitingForCompletion = false;
|
|
_writerThread = null;
|
|
_writerTasks = null;
|
|
}
|
|
}
|
|
|
|
knownEitEvents = null;
|
|
knownSdtServices = null;
|
|
knownPats = null;
|
|
knownPmts = null;
|
|
_knownBatBouquets = null;
|
|
knownNitNetworks = null;
|
|
updatedSdtServices = null;
|
|
_blacklistedDsmCcModules = null;
|
|
_knownTdt = null;
|
|
_knownNitTs = null;
|
|
knownTeletextPages = null;
|
|
_updatedBats = null;
|
|
_knownUpdatedNitNetworks = null;
|
|
_knownBatTs = null;
|
|
_knownCats = null;
|
|
knownScte35TimeSignals = null;
|
|
_knownInts = null;
|
|
_knownT2MiTimestamps = null;
|
|
_knownT2MiTransmitters = null;
|
|
_knownT2MiTimeOffsets = null;
|
|
_knownCompliances = null;
|
|
_tbtpCache = null;
|
|
_cmtCache = null;
|
|
_rmtTransmissionStdCache = null;
|
|
_tmstCache = null;
|
|
_rmtLinkageCache = null;
|
|
_rmtTransportStreamCache = null;
|
|
_sctCache = null;
|
|
_fctCache = null;
|
|
_sptCache = null;
|
|
timNid = null;
|
|
contentedTims = null;
|
|
correctionControlledTims = null;
|
|
_networkLayerInfoTims = null;
|
|
}
|
|
}
|
|
}
|