内存管理通常是由来自编码人员的请求处理的,以分配和释放内存块。
Memory management is usually handled by requests from the coder to allocate and release blocks of memory.
用特殊的系统调用(即对UNIX内核的请求)分配和释放内存并设置权限;通过一般的读写操作读写内存段中的数据。
Special system calls, or requests to the UNIX kernel, allocate and free the memory and set permissions; common read and write operations put and get data from the region.
因此,一个有动态内存需求的进程需要发出系统调用(请求内存和释放内存)通知操作系统它的这一内存变化需要。
Thus, a process with dynamic memory requirements will need to issue system calls (request memory and release memory) to inform the operating system of its changing memory needs.
应用推荐