Note that you must address potential race conditions if you use this pattern in a multithreaded application where the test involves a mutable object 注意,当在测试涉及可变对象的多线程应用程序中使用该模式时,必须解决可能出现的争用状态问题。
The event - based asynchronous pattern makes available the advantages of multithreaded applications while hiding many of the complex issues inherent in multithreaded design 基于事件的异步模式具有多线程应用程序的优点,同时隐匿了多线程设计中固有的许多复杂问题。
Describes how the asynchronous pattern makes available the advantages of multithreaded applications while hiding many of the complex issues inherent in multithreaded design 描述异步模式如何在隐藏多线程设计中固有的许多复杂问题的同时,发挥多线程应用程序的优点。
However , be aware that writing correct multithreaded applications can be difficult : your application may stop responding or experience transient errors due to race conditions 但请注意,编写正确的多线程应用程序可能很困难:应用程序可能会因为争用条件而停止响应或遇到瞬态错误。
Full multi - threaded application debugging where the same debugger ide may be used to step into the client application source code and into any nested stored procedure calls 完全的多线程应用程序调试,其中相同的调试器ide可用于跟踪客户机应用程序源代码和任何嵌套的存储过程调用。
While most of the activities in a multi - threaded application can be done in parallel , some actions , such as updating a global flag or manipulating a shared file , cannot 虽然多线程应用程序中的大多数操作都可以并行进行,但也有某些操作(如更新全局标志或处理共享文件)不能并行进行。
Describes how the event - based asynchronous pattern makes available the advantages of multithreaded applications while hiding many of the complex issues inherent in multithreaded design 描述基于事件的异步模式如何在隐藏多线程设计中固有的许多复杂问题的同时提供多线程应用程序的优点。
Alex roetter has several years of experience writing multithreaded applications in java and other languages . he holds a b . s . in computer science from stanford university Alex roetter已经有数年关于用java以及其他编程语言编写多线程应用程序的经验,在斯坦福大学获得了计算机科学学士学位。
However , in multithreaded applications , threads can die silently due to unchecked exceptions - leaving users and developers scratching their heads as to what happened and why 但是,在多线程应用程序中,由于未查出的异常,线程会无声无息地死亡使得用户和开发人员对于发生的问题和为什么发生这些问题毫无头绪。
The asynchronous pattern for components is an event - driven model that provides the advantages of multithreaded applications while hiding many of the complex issues inherent in multithreaded design 组件的异步模式是一种事件驱动的模型,它提供了多线程应用程序的优点,同时隐藏了多线程设计中固有的很多复杂问题。