1 write to m_WaitList
System (1)
net\System\Net\_Connection.cs (1)
495
m_WaitList
= new List<WaitListItem>();
27 references to m_WaitList
System (27)
net\System\Net\_Connection.cs (27)
545
return (m_ReadDone?0:1) + 2 * (
m_WaitList
.Count + m_WriteList.Count) + m_ReservedCount;
592
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::SubmitRequest() Free:" + m_Free.ToString() + " m_WaitList.Count:" +
m_WaitList
.Count.ToString());
723
m_WaitList
.Add(new WaitListItem(request, NetworkingPerfCounters.GetTimestamp()));
839
" WaitList:" +
m_WaitList
.Count +
1015
if (
m_WaitList
.Count == 0) {
1024
WaitListItem item =
m_WaitList
[0];
1036
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::CheckNextRequest() Removing request#" + ValidationHelper.HashString(nextRequest) + " from m_WaitList. New Count:" + (
m_WaitList
.Count - 1).ToString());
1040
m_WaitList
.RemoveAt(0);
1268
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::WriteStartNextRequest() Non-Error m_WriteList.Count:" + m_WriteList.Count + " m_WaitList.Count:" +
m_WaitList
.Count);
1311
GlobalLog.Enter("Connection#" + ValidationHelper.HashString(this) + "::WriteStartNextRequest" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" +
m_WaitList
.Count + " WriteList:" + m_WriteList.Count);
1369
GlobalLog.Enter("Connection#" + ValidationHelper.HashString(this) + "::ReadStartNextRequest" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" +
m_WaitList
.Count + " WriteList:" + m_WriteList.Count);
2770
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ParseResponseData()" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" +
m_WaitList
.Count + " WriteList:" + m_WriteList.Count);
2823
if (
m_WaitList
.Count > 0)
2825
foundItem =
m_WaitList
.Find(o => object.ReferenceEquals(o.Request, request));
2834
m_WaitList
.Remove(foundItem);
2934
if (m_WriteList.Count != 0 ||
m_WaitList
.Count != 0)
2939
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::PrepareCloseConnectionSocket() m_WaitList.Count:" +
m_WaitList
.Count);
2957
foreach (WaitListItem item in
m_WaitList
) {
2972
if (
m_WaitList
.Count != 0)
2974
requestArray = new HttpWebRequest[
m_WaitList
.Count];
2975
for (int i = 0; i <
m_WaitList
.Count; i++)
2977
requestArray[i] =
m_WaitList
[i].Request;
3103
foreach (WaitListItem item in
m_WaitList
)
3108
m_WaitList
.Clear();
3183
" m_WaitList.Count:" +
m_WaitList
.Count +
3896
for (int i = 0; i <
m_WaitList
.Count; i++)
3898
DebugDumpListEntry(i,
m_WaitList
[i].Request, "WaitList");