| 628 | } |
| 629 | |
| 630 | KFileDescriptorPtr KProcess::getFileDescriptor(FD handle) { |
| 631 | BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(fdsMutex); |
| 632 | return this->fds[handle]; |
| 633 | } |
| 634 | |
| 635 | KFileDescriptor* KProcess::getFileDescriptor_nolock(FD handle) { |
| 636 | return this->fds[handle].get(); |