I think we're going to be able to do things that are equivalent to what the Macintosh resource fork does through the new file attribute feature.
我想我们将能够通过新的文件属性特性做出一些事情,这些事情与Macintosh资源派生做的事情等价。
After the fork, the parent and child have copies of all open file descriptors and data values, so the pointer works for both.
执行fork之后,父进程和子进程获得打开的所有文件描述符和数据值的拷贝,所以指针对于它们都是有效的。
If a program has a file open before the fork, what happens if both processes try a read or a write?
如果在调用fork前,某个程序已经打开了一个文件,如果两个进程都尝试执行读取或写入,会发生什么情况呢?
If a program has a file open before the fork, what happens if both processes try a read or a write?
如果在调用fork前,某个程序已经打开了一个文件,如果两个进程都尝试执行读取或写入,会发生什么情况呢?
应用推荐