线程和事件! [英] Threads and Events !!
本文介绍了线程和事件!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友
谁能为我定义和区分线程和事件.
两者都令人困惑. :-/
在此先感谢
@ Naveen Kumar Dushila
Hello Friends
Can any one define and differentiate Threads and Events for me.
Both are making confusion. :-/
Thanks in Advance
@ Naveen Kumar Dushila
推荐答案
您是否尝试过 ^ ]永远.
Have you tried Google [^]ever.
线程 [事件 [ ^ ]是导致程序按需做出反应的外部刺激(敲门是一个事件).
Threads[^] are independent processes that can run at the same time in the same address space. Events[^] are external stimuli that cause a program to react on demand (a knock on the door is an event).
这篇关于线程和事件!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文