I was playing a little with demo on linux and I was able to crash fb_sdl
process. I could do it only after suspend/resume of linux host and I
understand that this process exists more for testing/development purpose
but I have more general question about this crash.

Crash was due to unhandled Ring_buffer::Overflow exception in:

  for (;;)
    input_session.submit(wait_for_event());

What is the proper way to handle such situations?

Should it block on submit call?

Should submit call be wrapped with try/catch and retried after some
time?

-- 
Tomasz Gajewski

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to