Hi Jan, On 16.3.2015 15:37, Jan Mareš wrote: > I'm working on porting QEMU to HelenOS. QEMU uses an event loop which > polls for fired events and calls corresponding callbacks if there are > any. In POSIX systems this is achieved using pipe and select functions, > on Windows CreateEvent and WaitForObject is used. Sadly, it seems that > waiting for events is mixed with waiting for actual files which works > fine on both platforms, but prevents designing a separate event > mechanism for HelenOS (it would mean creating and altering lot of code > of QEMU). So I decided that implementing pipe and select for HelenOS > could be the solution.
How is CreateEvent and WaitForObject mixed with waiting for a file? These are generic Windows mechanisms. Using the filesytem functionality, which is moreover not there yet in HelenOS to mimic CreateEvent/WaitForObject seems like a bad idea to me. Jakub _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel
