If an application creates a thread pool and the thread pool creates threads, the threads are resources that must be released (allowed to terminate) before the program can exit.
如果应用程序创建一个线程池,而线程池创建线程,线程是程序可以退出之前必须被释放的资源。
An example of a multithreaded application is a program that receives user input on one thread, performs a variety of complex calculations on a second thread, and updates a database on a third thread.
作为多线程应用程序的一个示例,某个程序在一个线程上接收用户输入,在另一个线程上执行多种复杂的计算,并在第三个线程上更新数据库。
Here is a sample program which executes the method on a new application domain and unloads it if the thread does not stop after the specified time.
下面是一个示例程序的执行上一个新的应用领域和卸载它的方法,如果线程没有停止后,在指定的时间。
应用推荐