Fix The thread xxx has exited with code 259 (0×103)
2014-11-06 13:36
751 查看
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).
The thread 0x27ec has exited with code 259 (0×103).
The thread 0×1978 has exited with code 259 (0×103).
The thread 0×1534 has exited with code 259 (0×103).
The thread 0x1ad8 has exited with code 259 (0×103).
The thread 0×2938 has exited with code 259 (0×103).
The thread 0x22c8 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.
本博客已搬家至: http://www.kai-zhou.com,
其他博客已停止更新,欢迎访问:Fix The thread xxx has exited with code 259 (0×103) 查看文章的最新版本,获得解决办法.
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).
The thread 0x27ec has exited with code 259 (0×103).
The thread 0×1978 has exited with code 259 (0×103).
The thread 0×1534 has exited with code 259 (0×103).
The thread 0x1ad8 has exited with code 259 (0×103).
The thread 0×2938 has exited with code 259 (0×103).
The thread 0x22c8 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.
本博客已搬家至: http://www.kai-zhou.com,
其他博客已停止更新,欢迎访问:Fix The thread xxx has exited with code 259 (0×103) 查看文章的最新版本,获得解决办法.
相关文章推荐
- The thread *** has exited with code 0 (0x0)
- 关于run-time error:The thread has exited with code :1073741701 (0xc000007b)
- the thread has exited with code -1073741819
- The virtual machine 'xp' has terminated unexpectedly during startup with exit code 1.
- Job for nginx.service failed because the control process exited with error code. See "systemctl stat
- xxx\Microsoft.Common.targets: error MSB3073: The command xxx exited with code 4
- The virtual machine 'xiazhixing' has terminated unexpectedly during startup with exit code 1.解决办法
- An error (-5006: 0×80070002) has occurred while running the setup
- The thread 0xDE8 has exited with code "X"意义
- Attribute value ("XXX") is quoted with " which must be escaped when used within the value 异常的修正
- Attribute value ("XXX") is quoted with " which must be escaped when used within the value 异常的修正
- 解决给MFC的类添加消息响应函数时报错“because the code element 'Cxxx' is read only ”
- 关于Oracle adf 报Thread: JBO-25014: Another user has changed the row with primary key oracle.jbo.Key
- Fix: "Sys.InvalidOperationException: Two components with the same id
- GameCenter authenticate:GKErrorDomain Code=2 "The requested operation has been cancelled."
- 解决:The process "c:/qt/2010.05/qt/bin/qmake.exe" exited with&nbs
- The program '[140] MyExecRefsDll.exe: Native' has exited with code 0 (0x0)
- "resgen.exe" exited with code -2146232576
- VS2008 Native' has exited with code 0 (0x0).
- 错误:A field or property with the name 'XXX' was not found on the selected data source 解决