1
vote
2answers
427 views

Ruby C Extension: run an event loop concurrently

I'm implementing a simple windowing library as a Ruby C extension. Windows have a handle_events! method that enters their native event loop. The problem is that I want one event loop per window and ...
0
votes
0answers
133 views

how to make event_base_loop run continously

I trying to make a program which reads data on a file descriptor in a call back generated by the event. but once its reads the data it exits i.e the event_base_loop() runs only once i want it to run ...