Use kqueue() and kevent() from FreeBSD

This commit is contained in:
Sebastian Huber
2013-10-28 15:40:53 +01:00
parent bae343a308
commit 0c9f27ba24
13 changed files with 408 additions and 49 deletions

View File

@@ -1,15 +0,0 @@
#include <unistd.h>
#include <errno.h>
#include <sys/time.h>
#include <rtems.h>
#include <rtems/error.h>
__weak_reference(_kevent, kevent);
int
_kevent(int kq, const struct kevent *changelist, int nchanges,
struct kevent *eventlist, int nevents, const struct timespec *timeout)
{
rtems_panic("Unimplemented method!!!\n");
return -1;
}

View File

@@ -1,14 +0,0 @@
#include <rtems/bsd/sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <rtems.h>
#include <rtems/error.h>
__weak_reference(_kqueue, kqueue);
int
_kqueue(void)
{
rtems_panic("Unimplemented method!!!\n");
return -1;
}