• What if the process was in the middle of allocating additional memory on its heap using malloc, and you call malloc from the signal handler?

    如果进程正在使用malloc分配额外的内存时,通过信号处理器调用 malloc,那会怎样?

    youdao

  • In the case of malloc, havoc can result for the process, because malloc usually maintains a linked list of all its allocated area and it may have been in the middle of changing this list.

    如果是调用malloc,则进程严重破坏因为malloc通常所有所分配区域维持一个可能正在修改那个链表。

    youdao

  • When memory size is less than or equal to 512 bytes, AIX malloc provides a more efficient frontend to the actual backend functions of malloc.

    对于小于等于512字节内存块,AIXmallocmalloc实际后端功能提供高效前端

    youdao

  • For example, a memory chunk allocated with malloc in Module 3 can be freed in Module 2 with free. It is because both malloc and free calls will end up in the same instance of CRT.

    例如模块3使用malloc所分配内存空间可以由模块2释放因为mallocfree调用都是同一个CRT对象实现的。

    youdao

  • For example, a memory chunk allocated with malloc in Module 3 can be freed in Module 2 with free. It is because both malloc and free calls will end up in the same instance of CRT.

    例如模块3使用malloc所分配内存空间可以由模块2释放因为mallocfree调用都是同一个CRT对象实现的。

    youdao

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

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

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