线程已退出? [英] Thread has exited?
问题描述
我在Visual Studio中运行程序时一直看到这个:
线程''< No Name>''(0x894)已退出,代码为0(0x0) 。
这究竟是什么意思?它似乎没有造成问题。
谢谢,
Drew
>
I keep seeing this when I run my program in Visual Studio:
The thread ''<No Name>'' (0x894) has exited with code 0 (0x0).
What does this mean exactly? It doesn''t seem to be causing a problem.
Thanks,
Drew
推荐答案
" Drew" <所以***** @ hotmail.com>在消息新闻中写道:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
"Drew" <so*****@hotmail.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
我在运行程序时一直看到这个Visual Studio:
线程''< No Name>''(0x894)退出了代码0(0x0)。
这究竟是什么意思?它似乎没有造成问题。
I keep seeing this when I run my program in Visual Studio:
The thread ''<No Name>'' (0x894) has exited with code 0 (0x0).
What does this mean exactly? It doesn''t seem to be causing a problem.
这正是它的意思。
ID为0x894的线程已经完成执行并返回0.
这是正常情况,不是问题。
这意味着你或你的某个人创建了一个新的
执行线程,该线程刚刚完成。
在C#中,您使用System.Threading.Thread类创建线程。
Ivan
It means exactly what it says.
A thread with ID 0x894 has finished execution and returned 0.
This is normal condition, not a problem.
It means that either you or someone on your behalf created a new
thread of execution, and that thread has just finished.
In C# you create threads using System.Threading.Thread class.
Ivan
首先有什么方法可以说出这个帖子是什么产生的吗?
它没有''似乎是我直接创建的任何内容。
是否可以通过在GUI组件上调用Refresh()来生成线程?
Drew
" Ivan Krivyakov" <我*** @ verizon.net>在消息中写道
news:%2 **************** @ tk2msftngp13.phx.gbl ...
Is there any way to tell what generated this thread in the first place?
It doesn''t appear to be anything that I created directly.
Could the thread be generated by calling Refresh() on a GUI component?
Drew
"Ivan Krivyakov" <i.***@verizon.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
"德鲁" <所以***** @ hotmail.com>在消息中写道
"Drew" <so*****@hotmail.com> wrote in message
新闻:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
news:%2****************@TK2MSFTNGP09.phx.gbl...
当我在Visual Studio中运行我的程序时,我一直看到这个:
线程''< No Name>''(0x894)已退出,代码为0 (0x0)。
这究竟是什么意思?它似乎没有造成问题。
I keep seeing this when I run my program in Visual Studio:
The thread ''<No Name>'' (0x894) has exited with code 0 (0x0).
What does this mean exactly? It doesn''t seem to be causing a problem.
这正是它所说的内容。
ID为0x894的线程已经完成执行并返回0。
这是正常情况,不是问题。
这意味着您或您的某个人创建了一个新的执行线程,该线程刚刚完成。
在C#中,您使用System.Threading.Thread类创建线程。
Ivan
It means exactly what it says.
A thread with ID 0x894 has finished execution and returned 0.
This is normal condition, not a problem.
It means that either you or someone on your behalf created a new
thread of execution, and that thread has just finished.
In C# you create threads using System.Threading.Thread class.
Ivan
你运行任何程序,系统为它创建一个线程。
也许这只是你的程序运行的线程?
" Drew" <所以***** @ hotmail.com>在留言中写道
新闻:OF ************** @ TK2MSFTNGP11.phx.gbl ...
When you run any program the system creates a thread for it.
Maybe this is simply the thread your program is running on?
"Drew" <so*****@hotmail.com> wrote in message
news:OF**************@TK2MSFTNGP11.phx.gbl...
有什么方法可以先告诉我这个帖子是什么产生的?
它似乎不是我直接创建的。
可以通过调用Refresh()来生成线程吗?在GUI组件上?
画了
" Ivan Krivyakov" <我*** @ verizon.net>在消息中写道
新闻:%2 **************** @ tk2msftngp13.phx.gbl ...
Is there any way to tell what generated this thread in the first place?
It doesn''t appear to be anything that I created directly.
Could the thread be generated by calling Refresh() on a GUI component?
Drew
"Ivan Krivyakov" <i.***@verizon.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
" Drew" <所以***** @ hotmail.com>在消息中写道
"Drew" <so*****@hotmail.com> wrote in message
新闻:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
news:%2****************@TK2MSFTNGP09.phx.gbl...
当我在Visual Studio中运行程序时,我一直看到这个:
线程''< No Name>''(0x894)已经退出代码0(0x0)。
这究竟意味着什么?它似乎没有造成问题。
I keep seeing this when I run my program in Visual Studio:
The thread ''<No Name>'' (0x894) has exited with code 0 (0x0).
What does this mean exactly? It doesn''t seem to be causing a problem.
这正是它所说的内容。
ID为0x894的线程已经完成执行并返回0。
这是正常情况,不是问题。
这意味着您或您的某个人创建了一个新的执行线程,该线程刚刚完成。
在C#中,您使用System.Threading.Thread类创建线程。
Ivan
It means exactly what it says.
A thread with ID 0x894 has finished execution and returned 0.
This is normal condition, not a problem.
It means that either you or someone on your behalf created a new
thread of execution, and that thread has just finished.
In C# you create threads using System.Threading.Thread class.
Ivan
这篇关于线程已退出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!