内核线程和应用程序线程需要相互进行握手。
The kernel thread and the application thread will handshake with each other.
要实现这种功能,我们需要几个应用程序线程和内核线程。
To achieve this you need application threads and kernel threads.
当垃圾收集器回收程序不再使用的内存时,它可以停止任何应用程序线程。
When the garbage collector runs to reclaim memory that is no longer used by the program, it can stop all the application threads.
应用推荐