Ensured that POSIX.ioctl plays nice with other threads.
Ensured that POSIX.ioctl plays nice with other threads.

conreality/consensus,conreality/conreality,conreality/consensus,conreality/consensus,conreality/conreality,conreality/conreality,conreality/consensus,conreality/conreality,conreality/conreality