• 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联接它们,那么在线程终止每个产生线程都将泄漏大量内存(至少堆栈10MB)。

    youdao

  • You can fix the leak by adding code to call pthread_join , which joins each joinable thread.

    修复泄漏可以添加代码调用pthread_join,方法可联接每个接合线程

    youdao

  • For example, because a hung thread might occur when a wait leak, excessive synchronization, or a deadlock scenario takes place, the hung thread problem consists of three scenarios.

    例如,在出现等待leak过量同步死锁时会发生hung线程,因此hung线程问题包含这场景。

    youdao

  • If the number of all thread stacks is greater than the number of active threads, and their dispersion continues growing as the program keeps running, you can conclude that the leak problem does exist.

    如果所有线程堆栈数量大于活动线程数量,程序运行时两者的差量在持续增长可以确定内存泄漏问题确实存在。

    youdao

  • If the number of all thread stacks is greater than the number of active threads, and their dispersion continues growing as the program keeps running, you can conclude that the leak problem does exist.

    如果所有线程堆栈数量大于活动线程数量,程序运行时两者的差量在持续增长可以确定内存泄漏问题确实存在。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定