// Warning: this is a little broken, as there are places where we do blocking reads or writes against the extent socket. // The hope is this won't make much difference because the extents are unlikely to fill enough space to ever actually block. void fable_set_nonblocking_shmem_pipe(void* handle) { struct shmem_pipe_handle *sp = (struct shmem_pipe_handle*)handle; setnb_fd(sp->fd); }
void fable_set_nonblocking_unixdomain(struct fable_handle* handle) { setnb_fd(*((int*)handle)); }