Error Recovery Support In The Wayland Client

Written by Michael Larabel in Wayland on 12 October 2012 at 03:20 AM EDT. 1 Comment
WAYLAND
David Herrmann has posted patches for implementing error recovery within the Wayland client library.

Herrmann, the developer that's been aspiring towards killing the kernel console (CONFIG_VT) by providing KMSCON, FBLOG, and a native Wayland terminal emulator, took a stab at error recovery for libwayland-client.

He writes in his mailing list message, "This patchset is some _untested_ (but compile-tested) proposal to add error-recovery paths to libwayland-client. The basic idea is to set a global flag when a fatal-error occurs and waking up all event-queues. All sleeping dispatchers and all further dispatches will return -1 and errno set to the fatal error code."

This work consists of 12 patches for error handling/recovery amd some small changes still need to be done for initiating a graceful shutdown should a Wayland error arise. With the Wayland 1.0 release happening in a few days, this error support might not make the cut for this next release so it would then be postponed to the next stable Wayland update.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week