W.C.A. Wijngaards wrote: > With ub_fd() you can get a file descriptor for all of the open queries > for that ub_context. And then use select() to wait on it? Ah, I had missed ub_fd(). That looks like just what I'm looking for. Thanks! -- Björn