define kqueuemodel based on freebsd kqueue
implements kqueuemodel_impl