mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-24 00:39:54 +08:00
Added in knote_enqueue.
This commit is contained in:
parent
251480ebc2
commit
63a34762d9
@ -131,7 +131,9 @@ static struct fileops kqueueops = {
|
|||||||
|
|
||||||
static int knote_attach(struct knote *kn, struct kqueue *kq);
|
static int knote_attach(struct knote *kn, struct kqueue *kq);
|
||||||
static void knote_drop(struct knote *kn, struct thread *td);
|
static void knote_drop(struct knote *kn, struct thread *td);
|
||||||
|
#endif /* __rtems__ */
|
||||||
static void knote_enqueue(struct knote *kn);
|
static void knote_enqueue(struct knote *kn);
|
||||||
|
#ifndef __rtems__
|
||||||
static void knote_dequeue(struct knote *kn);
|
static void knote_dequeue(struct knote *kn);
|
||||||
static void knote_init(void);
|
static void knote_init(void);
|
||||||
static struct knote *knote_alloc(int waitok);
|
static struct knote *knote_alloc(int waitok);
|
||||||
@ -2116,6 +2118,7 @@ knote_drop(struct knote *kn, struct thread *td)
|
|||||||
kn->kn_fop = NULL;
|
kn->kn_fop = NULL;
|
||||||
knote_free(kn);
|
knote_free(kn);
|
||||||
}
|
}
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
knote_enqueue(struct knote *kn)
|
knote_enqueue(struct knote *kn)
|
||||||
@ -2131,6 +2134,7 @@ knote_enqueue(struct knote *kn)
|
|||||||
kqueue_wakeup(kq);
|
kqueue_wakeup(kq);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
static void
|
static void
|
||||||
knote_dequeue(struct knote *kn)
|
knote_dequeue(struct knote *kn)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user