At the moment Process::fork() seem to clone the OpenedFileTable while for proper multithreading we have to have shared access to opened files following clone(2) semantics supported by the Linux Kernel.
Found during work on #88 and belongs to Multithreading milestone (I can't add myself).
More details in the flags mask of clone(2), scroll down to CLONE_FILES. I haven't checked yet how it's implemented in Linux Kernel.
At the moment
Process::fork()
seem to clone theOpenedFileTable
while for proper multithreading we have to have shared access to opened files followingclone(2)
semantics supported by the Linux Kernel.Found during work on #88 and belongs to
Multithreading
milestone (I can't add myself).More details in the flags mask of
clone(2)
, scroll down toCLONE_FILES
. I haven't checked yet how it's implemented in Linux Kernel.