Diff for /libaitsched/src/hooks.c between versions 1.35 and 1.36

version 1.35, 2021/06/08 21:45:07 version 1.36, 2022/10/17 22:45:06
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004 - 2021Copyright 2004 - 2022
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 1186  fetch_hook_epoll_proceed(int en, struct epoll_event *r Line 1186  fetch_hook_epoll_proceed(int en, struct epoll_event *r
                 }                  }
   
                 if (epoll_ctl(r->root_kq, ops, evt->data.fd, evt) == -1) {                  if (epoll_ctl(r->root_kq, ops, evt->data.fd, evt) == -1) {
                           if (errno == EBADF) {
                                   epoll_ctl(r->root_kq, EPOLL_CTL_DEL, evt->data.fd, evt);
                                   schedCancelby(r, taskREAD, CRITERIA_FD, 
                                                   (void*) (uintptr_t) evt->data.fd, NULL);
                                   schedCancelby(r, taskWRITE, CRITERIA_FD, 
                                                   (void*) (uintptr_t) evt->data.fd, NULL);
                           }
                         if (r->root_hooks.hook_exec.exception) {                          if (r->root_hooks.hook_exec.exception) {
                                 r->root_hooks.hook_exec.exception(r, NULL);                                  r->root_hooks.hook_exec.exception(r, NULL);
                         } else                          } else

Removed from v.1.35  
changed lines
  Added in v.1.36


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