Re: AfxBeginThread on each user action X or re-use same thread (w CEve
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Fri, 2 Sep 2005 23:34:18 -0400
"ultranet" <ultranet@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8E2B9026-0B79-4847-A4B9-C4BB6F820344@xxxxxxxxxxxxx
> I'm not seeing
> isAlive() method in CWinThread
DWORD exitCode;
GetExitCodeThread(yourThread, &exitCode);
if (exitCode == STILL_ACTIVE)
{
// thread still alive
}
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- Prev by Date: AfxBeginThread on each user action X or re-use same thread (w CEve
- Next by Date: Re: AfxBeginThread on each user action X or re-use same thread (w CEve
- Previous by thread: AfxBeginThread on each user action X or re-use same thread (w CEve
- Next by thread: Re: AfxBeginThread on each user action X or re-use same thread (w CEve
- Index(es):