Using raw threads is a possibility; Thread. start () and Thread. join () provide all the necessary functionality. 可以使用原始的线程;Thread.start()和Thread.join()提供了所有必要的功能。
All actions in a thread happen-before any other thread successfully returns from a Thread. join () on that thread 线程中的所有操作happens-before从这个线程的Thread.join()成功返回的所有其他线程
If you create a joinable thread but forget to join it, its resources or private memory are always kept in the process space and never reclaimed. 如果您创建一个可接合的线程,但是忘记联接它,其资源或私有内存一直保存在进程空间中,从未进行回收再利用。
Aimed at preventing plastic screw thread from of easy to be damaged when tightening the join, the starting part of screw thread is manufactured to be arc shape, so as to increase intensity, the manufacture method of this injection mold screw thread is stated. 针对防止塑料螺纹在紧固联接时易损坏的特点,将螺纹起头加工成弧形,以加大强度,叙述了此注射模螺纹的加工方法。
In joinable state, another thread can synchronize on the thread's termination and recover its termination code using the function pthread_join (). 在可连接状态中,另一个线程可以同步这个线程的终止,使用函数pthreadjoin()来重新获得其终止代码。