int[2] createPipe()
Create a pipe pair for internal wakeup or communication.
[read_end, write_end]
[-1, -1]