Diff for /libaitsched/src/hooks.c between versions 1.42.20.1 and 1.42.20.2

version 1.42.20.1, 2026/11/12 12:03:39 version 1.42.20.2, 2026/11/12 12:44:02
Line 1231  fetch_hook_epoll_proceed(int en, struct epoll_event *r Line 1231  fetch_hook_epoll_proceed(int en, struct epoll_event *r
   
 #if SUP_ENABLE == NO_SUPPORT  #if SUP_ENABLE == NO_SUPPORT
 static inline void   static inline void 
fetch_hook_select_proceed(int en, fd_set rfd, fd_set wfd, fd_set xfd, sched_root_task_t *r)fetch_hook_select_proceed(int en, sched_fd_set rfd, sched_fd_set wfd, sched_fd_set xfd, sched_root_task_t *r)
 {  {
         register int i, rflg, wflg;          register int i, rflg, wflg;
         sched_task_t *t, *tmp, *task;          sched_task_t *t, *tmp, *task;
Line 1351  sched_hook_fetch(void *root, void *arg __unused) Line 1351  sched_hook_fetch(void *root, void *arg __unused)
         u_long timeout = 0;          u_long timeout = 0;
 #else  #else
         struct timeval *timeout, tv;          struct timeval *timeout, tv;
        fd_set rfd, wfd, xfd;        sched_fd_set rfd, wfd, xfd;
 #endif  #endif
         int en;          int en;
   
Line 1448  sched_hook_fetch(void *root, void *arg __unused) Line 1448  sched_hook_fetch(void *root, void *arg __unused)
         xfd = r->root_fds[2];          xfd = r->root_fds[2];
         rfd = r->root_fds[0];          rfd = r->root_fds[0];
         wfd = r->root_fds[1];          wfd = r->root_fds[1];
        if ((en = select(r->root_kq, &rfd, &wfd, &xfd, timeout)) == -1) {        if ((en = select(r->root_kq, (fd_set*) &rfd, (fd_set*) &wfd, (fd_set*) &xfd, timeout)) == -1) {
 #endif  /* KQ_SUPPORT */  #endif  /* KQ_SUPPORT */
                 if (r->root_hooks.hook_exec.exception) {                  if (r->root_hooks.hook_exec.exception) {
                         if (r->root_hooks.hook_exec.exception(r, NULL))                          if (r->root_hooks.hook_exec.exception(r, NULL))

Removed from v.1.42.20.1  
changed lines
  Added in v.1.42.20.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>