sofar/buxton — pull request #54 by ikeydoherty (2014-01-21 14:07:34+00:00)
Title: Convert demo programs to new API

Timing demo uses synchronous API, given its purpose.
GTK client now uses the asynchronous API, which works fairly wonderfully.

I will add that although these build, timing demo has a problem and will segfault when running its first SET_UNSET test, due to a broken pipe. Wanted to raise your attention on this one William. Meanwhile I'm working on fixing up notifications, which as you pointed out, should be easy with the new async stuff (glorious, almost :))

With that said, I really like the new API. Great job on converting to non blocking, and nice mutex use. It works beautifully :) Having now figured out how to force the sync call, I'll work on the client code. (Long story short you must have a callback, as its always called.)