Fix The thread xxx has exited with code 259 (0 & #215; 103), exited

Source: Internet
Author: User

Fix The thread xxx has exited with code 259 (0 × 103), exited

When run the test case in VS2013, you may encounter below problem

After test case end, it will show below message infintely no matter how long you wait, test does not finish

The thread 0x23a4 has exited with code 259 (0 × 103 ).

The thread 0 × 2884 has exited with code 259 (0 × 103 ).
 

From MSDN Documentation:

Remarks

This function returns immediately. If the specified thread has not terminated and the function succeeds, the status returned is STILL_ACTIVE. If the thread has terminated and the function succeeds, the status returned is one of the following values: The exit value specified in the ExitThread or TerminateThread function. The return value from the thread function. The exit value of the thread’s process. Important The GetExitCodeThread function returns a valid error code defined by the application only after the thread terminates. Therefore, an application should not use STILL_ACTIVE (259) as an error code. If a thread returns STILL_ACTIVE (259) as an error code, applications that test for this value could interpret it to mean that the thread is still running and continue to test for the completion of the thread after the thread has terminated, which could put the application into an infinite loop.

So basically it's still checking current thread from time to time.

Is there any solution to resolve and fix this issue, problem.


This blog has been moved to: http://www.kai-zhou.com, other blogs have been updated, welcome to: Fix The thread xxx has exited with code 259 (0 × 103) view The latest version of The article, find a solution.


What does The thread 0x9F4 has exited with code 0 (0x0) mean?

The value of Good Consultants By Thomas Rothstein

The value of Good Consultants By Thomas Rothstein

Having a really good consulting as part of your executive coaching team can be worth its weight in gold. as senior managers we are always expected to pull a rabbit out of the hat in times of crisis and fix whatever problems may surface, but who do you turn to when you don't know what to do?

Revoke executives have a very hard time giving consulting due credit or even contracting with one out of fear of in doing so they will seem incompetent. this is probably the main reason that the discovery phase of a crisis can take on a very combative appearance. before you can even begin to strategies on the problem you have to first prove you are who you say you are.

Seldom are consultants given their due praise and respect. I can remember grouping ing countless callfrom board members in regards to the cost of my service, only after they have got ed the funding that they contracted me to deliver.

More articles related to the topic:

Manolo blahnik shop Tips on How to Thrive During I

Using Better Business Bureau to Find Companies_61
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.