Setting state to STATE_NEW in wxThread::Create

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-05-04 20:51:09 +00:00
parent 0bb26f5835
commit e71d7ac230
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

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