确保进程告诉您想让其在何处写入您的数据!
Be sure to tell the process where you'd like it to write your data!
程序的文本和数据段现在需要写入到mem文件中,这可以使用write系统调用,或者通过将该文件映射到该进程的地址空间中实现。
The program text and data segments now need to get written into the mem file, either using the write system call, or by mapping the file into the process address space.
这意味着当多个进程和线程可以在同一时间从同一数据库读取数据,但只有一个可以写入数据。
This means that while multiple processes and threads can read from the same database at the same time, only one is able to write.
该进程写入数据,一直到达缓冲区的末尾,然后将剩余的数据复制到缓冲区的开始位置,覆盖以前的日志条目。
The process writes whatever data it can until the end of the buffer, and the remaining data is copied to start overwriting the previous log entry.
任何进程都可以向共享内存区域写入数据,并且数据可以由其他进程读取或修改。
Any process can write data to a Shared memory region, and the data are readable and modified by other processes.
在解锁文件之前,通过调用C的flush库例程或 flush方法(如果喜欢使用 C++fstream 的话),刷新写入者进程中的数据。
Flush data in writer processes before unlocking a file by either calling C's flush library routine or the flush method (if you prefer a C++ fstream).
向进程中的内存区域中写入数据。
实现父子进程的同步,当父进程试图从一空管道中读取数据时,便进入等待状态,直到子进程将数据写入管道返回后,才将其唤醒。
Son process to achieve the synchronization, when the parent tried to read an empty pipe, they enter the wait state until the child process to write data pipeline to return only after its wake.
实现父子进程的同步,当父进程试图从一空管道中读取数据时,便进入等待状态,直到子进程将数据写入管道返回后,才将其唤醒。
Son process to achieve the synchronization, when the parent tried to read an empty pipe, they enter the wait state until the child process to write data pipeline to return only after its wake.
应用推荐