| OLD | NEW |
| 1 #include <aio.h> | 1 #include <aio.h> |
| 2 #include <errno.h> | 2 #include <errno.h> |
| 3 #include <unistd.h> | 3 #include <unistd.h> |
| 4 #include <string.h> | 4 #include <string.h> |
| 5 #include "pthread_impl.h" | 5 #include "pthread_impl.h" |
| 6 #include "libc.h" | 6 #include "libc.h" |
| 7 | 7 |
| 8 struct lio_state { | 8 struct lio_state { |
| 9 struct sigevent* sev; | 9 struct sigevent* sev; |
| 10 int cnt; | 10 int cnt; |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 if (pthread_create(&td, &a, wait_thread, st)) { | 133 if (pthread_create(&td, &a, wait_thread, st)) { |
| 134 free(st); | 134 free(st); |
| 135 errno = EAGAIN; | 135 errno = EAGAIN; |
| 136 return -1; | 136 return -1; |
| 137 } | 137 } |
| 138 pthread_sigmask(SIG_SETMASK, &set, 0); | 138 pthread_sigmask(SIG_SETMASK, &set, 0); |
| 139 } | 139 } |
| 140 | 140 |
| 141 return 0; | 141 return 0; |
| 142 } | 142 } |
| 143 | |
| 144 LFS64(lio_listio); | |
| OLD | NEW |