/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
return 0;
} /* _ATrw */
-int _ATread(fp, uio, cred)
+int _ATread(fp, uio, cred, flags, p)
void *fp;
struct uio *uio;
void *cred;
+ int flags;
+ struct proc *p;
{
int stat;
return stat;
}
-int _ATwrite(fp, uio, cred)
+int _ATwrite(fp, uio, cred, flags, p)
void *fp;
struct uio *uio;
void *cred;
+ int flags;
+ struct proc *p;
{
int stat;
#ifdef APPLETALK_DEBUG
kprintf("wakeup gref = 0x%x\n", (unsigned)gref);
#endif
- thread_wakeup(&gref->iocevent);
+ wakeup(&gref->iocevent);
}
}
break;
gref->rdhead = m;
if (gref->sevents & POLLMSG) {
gref->sevents &= ~POLLMSG;
- thread_wakeup(&gref->event);
+ wakeup(&gref->event);
}
if (gref->sevents & POLLIN) {
gref->sevents &= ~POLLIN;
gref_t *gref;
{
if (gref->sevents & POLLSYNC)
- thread_wakeup(&gref->event);
+ wakeup(&gref->event);
}
void atalk_flush(gref)
/* blocked read */
if (gref->sevents & POLLMSG) {
gref->sevents &= ~POLLMSG;
- thread_wakeup(&gref->event);
+ wakeup(&gref->event);
}
/* select */
if (gref->sevents & POLLIN) {