>>>>> "D" == Derek Lewis <lewisd / f00f.net> writes: D> I've written a small test script that seems to cause the problem about as D> often as I can get it to, and I'm hoping someone with a bit more D> experience with writing extensions can take a look and help me out. It use pthread. Now don't expect it to work actually with ruby thread. If you want to use xosd_wait_until_no_display() emulate it like described in the manual page. Perhaps you can also use the CVS version of ruby, compiled with --enable-pthread Guy Decoux