Click here to Skip to main content
15,887,746 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: use of beginthreadex() Pin
bkelly1327-Nov-13 11:45
bkelly1327-Nov-13 11:45 
GeneralRe: use of beginthreadex() Pin
Richard MacCutchan27-Nov-13 22:03
mveRichard MacCutchan27-Nov-13 22:03 
GeneralRe: use of beginthreadex() Pin
bkelly1328-Nov-13 10:08
bkelly1328-Nov-13 10:08 
GeneralRe: use of beginthreadex() Pin
Albert Holguin11-Dec-13 5:01
professionalAlbert Holguin11-Dec-13 5:01 
Generaleasy for classes Pin
bkelly1311-Dec-13 12:27
bkelly1311-Dec-13 12:27 
GeneralRe: easy for classes Pin
Albert Holguin12-Dec-13 4:09
professionalAlbert Holguin12-Dec-13 4:09 
GeneralRe: easy for classes Pin
bkelly1312-Dec-13 12:53
bkelly1312-Dec-13 12:53 
AnswerRe: easy for classes Pin
Albert Holguin12-Dec-13 13:10
professionalAlbert Holguin12-Dec-13 13:10 
Well if anything is waiting on the thread handle, it's going to wait forever (or until it times out) because the thread handle doesn't get dealt with properly, but that would only be an issue if you were waiting on the handle (or if another unsuspecting programmer waits on your thread handle).

Typically the proper way of ending a thread is to have it end itself. In the case of a socket handling thread, you can have something to signal an end to the capturing process. If your thread is in a blocking recv() call, closing your socket will trigger a return.

From MSDN:
Quote:
Like the Win32 ExitThread API, _endthreadex does not close the thread handle.

QuestionI want to showing "+" allways in WTL CTreeViewCtrl Pin
cheng84977cc25-Nov-13 5:40
cheng84977cc25-Nov-13 5:40 
AnswerRe: I want to showing "+" allways in WTL CTreeViewCtrl Pin
Wayne.CN13-Jan-14 17:51
Wayne.CN13-Jan-14 17:51 
Question[How to Convert data in textBox to .Txt file in Windows Form C++] Pin
Member 1041578020-Nov-13 19:53
Member 1041578020-Nov-13 19:53 
QuestionRe: [How to Convert data in textBox to .Txt file in Windows Form C++] Pin
Richard MacCutchan20-Nov-13 22:21
mveRichard MacCutchan20-Nov-13 22:21 
Questionstl thread safe Pin
G.aius.CodeCreator18-Nov-13 15:38
G.aius.CodeCreator18-Nov-13 15:38 
Questionwaiting on events for socket activity Pin
bkelly1318-Nov-13 14:05
bkelly1318-Nov-13 14:05 
AnswerRe: waiting on events for socket activity Pin
Orjan Westin19-Nov-13 23:03
professionalOrjan Westin19-Nov-13 23:03 
GeneralRe: waiting on events for socket activity Pin
bkelly1325-Nov-13 16:08
bkelly1325-Nov-13 16:08 
GeneralRe: waiting on events for socket activity Pin
Orjan Westin25-Nov-13 23:01
professionalOrjan Westin25-Nov-13 23:01 
GeneralRe: waiting on events for socket activity Pin
bkelly1326-Nov-13 8:07
bkelly1326-Nov-13 8:07 
QuestionWhat is the window argument in WSAAsyncSelect(...) Pin
bkelly1310-Nov-13 15:59
bkelly1310-Nov-13 15:59 
AnswerRe: What is the window argument in WSAAsyncSelect(...) Pin
Richard MacCutchan10-Nov-13 21:08
mveRichard MacCutchan10-Nov-13 21:08 
Generalcreate a window for callbacks Pin
bkelly1311-Nov-13 2:00
bkelly1311-Nov-13 2:00 
GeneralRe: create a window for callbacks Pin
Richard MacCutchan11-Nov-13 3:01
mveRichard MacCutchan11-Nov-13 3:01 
GeneralRe: create a window for callbacks Pin
bkelly1311-Nov-13 4:49
bkelly1311-Nov-13 4:49 
GeneralRe: create a window for callbacks Pin
Richard MacCutchan11-Nov-13 6:33
mveRichard MacCutchan11-Nov-13 6:33 
GeneralRe: create a window for callbacks Pin
bkelly1311-Nov-13 8:33
bkelly1311-Nov-13 8:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.