[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] Can the pipe be used in event_new function as file descriptor(evutil_socket_t) in windows?



I wanted some linux code work in the windows.This is a multi thread program.I hope that the parent thread and child thread to pass data through the pipe.
But no file descriptor in windows.The CreatePipe function can creat a pipe with read HANDLE and write HANDLE.But libevent don't konw HANDLE.I can not use it in the event.
What is good way?Can't the pipe be used?