sudhakar_koundinya
asked on
Worker Threads Dowbt
What is the difference between these two code snippets while working with worker threads??
AfxEndThread(0);
return 0;
and directly
return 0;
AfxEndThread(0);
return 0;
and directly
return 0;
In the first snippet the line return 0 won't be executed. AfxEndThread () acts like exit function for a normal application. It terminates the thread at the point of execution. No need to call it directly before a return statement.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.