Make aio code MP safe.

This commit is contained in:
David Xu 2006-01-22 05:59:27 +00:00
parent 77efa49867
commit 1ce9182407
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154669
2 changed files with 587 additions and 856 deletions

View File

@ -467,9 +467,9 @@
u_int nfds, int timeout); }
253 AUE_NULL MSTD { int issetugid(void); }
254 AUE_NULL MSTD { int lchown(char *path, int uid, int gid); }
255 AUE_NULL NOSTD { int aio_read(struct aiocb *aiocbp); }
256 AUE_NULL NOSTD { int aio_write(struct aiocb *aiocbp); }
257 AUE_NULL NOSTD { int lio_listio(int mode, \
255 AUE_NULL MNOSTD { int aio_read(struct aiocb *aiocbp); }
256 AUE_NULL MNOSTD { int aio_write(struct aiocb *aiocbp); }
257 AUE_NULL MNOSTD { int lio_listio(int mode, \
struct aiocb * const *acb_list, \
int nent, struct sigevent *sig); }
258 AUE_NULL UNIMPL nosys
@ -546,16 +546,16 @@
312 AUE_NULL MSTD { int setresgid(gid_t rgid, gid_t egid, \
gid_t sgid); }
313 AUE_NULL OBSOL signanosleep
314 AUE_NULL NOSTD { int aio_return(struct aiocb *aiocbp); }
315 AUE_NULL NOSTD { int aio_suspend( \
314 AUE_NULL MNOSTD { int aio_return(struct aiocb *aiocbp); }
315 AUE_NULL MNOSTD { int aio_suspend( \
struct aiocb * const * aiocbp, int nent, \
const struct timespec *timeout); }
316 AUE_NULL NOSTD { int aio_cancel(int fd, \
316 AUE_NULL MNOSTD { int aio_cancel(int fd, \
struct aiocb *aiocbp); }
317 AUE_NULL NOSTD { int aio_error(struct aiocb *aiocbp); }
318 AUE_NULL NOSTD { int oaio_read(struct oaiocb *aiocbp); }
319 AUE_NULL NOSTD { int oaio_write(struct oaiocb *aiocbp); }
320 AUE_NULL NOSTD { int olio_listio(int mode, \
317 AUE_NULL MNOSTD { int aio_error(struct aiocb *aiocbp); }
318 AUE_NULL MNOSTD { int oaio_read(struct oaiocb *aiocbp); }
319 AUE_NULL MNOSTD { int oaio_write(struct oaiocb *aiocbp); }
320 AUE_NULL MNOSTD { int olio_listio(int mode, \
struct oaiocb * const *acb_list, \
int nent, struct osigevent *sig); }
321 AUE_NULL MSTD { int yield(void); }
@ -631,7 +631,7 @@
358 AUE_NULL MSTD { int extattr_delete_file(const char *path, \
int attrnamespace, \
const char *attrname); }
359 AUE_NULL NOSTD { int aio_waitcomplete( \
359 AUE_NULL MNOSTD { int aio_waitcomplete( \
struct aiocb **aiocbp, \
struct timespec *timeout); }
360 AUE_NULL MSTD { int getresuid(uid_t *ruid, uid_t *euid, \

File diff suppressed because it is too large Load Diff