Setting state to STATE_NEW in wxThread::Create

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-05-04 20:51:09 +00:00
parent eb6fa4b425
commit 1dfc3cda6e
4 changed files with 9 additions and 0 deletions

View File

@@ -433,6 +433,8 @@ bool wxThreadInternal::Create(wxThread *thread, unsigned int stackSize)
SetPriority(m_priority);
}
m_state = STATE_NEW;
return TRUE;
}

View File

@@ -433,6 +433,8 @@ bool wxThreadInternal::Create(wxThread *thread, unsigned int stackSize)
SetPriority(m_priority);
}
m_state = STATE_NEW;
return TRUE;
}

View File

@@ -484,6 +484,9 @@ bool wxThreadInternal::Create(
{
SetPriority(m_nPriority);
}
m_eState = STATE_NEW;
return(TRUE);
}

View File

@@ -1183,6 +1183,8 @@ wxThreadError wxThread::Create(unsigned int WXUNUSED(stackSize))
return wxTHREAD_NO_RESOURCE;
}
m_state = STATE_NEW;
return wxTHREAD_NO_ERROR;
}