joinable thread的意思|示意

美 / / 英 / /

可接合线程


joinable thread的网络常见释义

等待线程 在线程的所有属性中,最重要的是分离属性(detach status),一个线程可以是等待线程(joinable thread)or分离线程(detach thread),默认是joinable thread;

joinable thread相关例句

In joinable state, another thread can synchronize on the thread's termination and recover its termination code using the function pthread_join .

在可连接状态中,另一个线程可以同步这个线程的终止,使用函数pthread_join来重新获得其终止代码。

If they are joinable threads and you haven't called the pthread_join to join them, each produced thread will leak a sizeable amount of memory (at least 10mb per stack) after its termination.

如果它们是可接合的线程,且您没有调用pthread_join来联接它们,那么在线程终止后,每个产生的线程都将泄漏大量的内存(至少每堆栈10 MB)。

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.

如果您创建一个可接合的线程,但是忘记联接它,其资源或私有内存一直保存在进程空间中,从未进行回收再利用。

The thread resources of the joinable thread are released only after it is joined.

可连接的线程只有在被连接后 才释放线程资源。

Thread bodies consist of active running threads and dead joinable threads.

线程体包括运行的活动线程和可接合的死线程。

As demonstrated in Listing 1 and 2, joinable threads are produced, but they are never joined, so each terminated joinable thread still occupies the process space, leaking the process memory.

如清单1和清单2所示,虽然生成了可接合线程,但是却未将其联接,因此每个终止的可接合线程仍然占用进程空间,泄漏进程内存。