Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 2 years ago
parent
commit
1e8cff8a7e
  1. 4
      ev.c
  2. 2
      ev.h
  3. 2
      ev_iouring.c

4
ev.c

@ -2396,10 +2396,10 @@ fd_reify (EV_P)
/* most backends do not modify the fdchanges list in backend_modfiy.
* except io_uring, which has fixed-size buffers which might force us
* to handle events in backend_modify, causing fdchangesd to be amended,
* to handle events in backend_modify, causing fdchanges to be amended,
* which could result in an endless loop.
* to avoid this, we do not dynamically handle fds that were added
* during fd_reify. that menas thast for those backends, fdchangecnt
* during fd_reify. that means that for those backends, fdchangecnt
* might be non-zero during poll, which must cause them to not block.
* to not put too much of a burden on other backends, this detail
* needs to be handled in the backend.

2
ev.h

@ -1,7 +1,7 @@
/*
* libev native API header
*
* Copyright (c) 2007-2019 Marc Alexander Lehmann <libev@schmorp.de>
* Copyright (c) 2007-2020 Marc Alexander Lehmann <libev@schmorp.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modifica-

2
ev_iouring.c

@ -1,7 +1,7 @@
/*
* libev linux io_uring fd activity backend
*
* Copyright (c) 2019 Marc Alexander Lehmann <libev@schmorp.de>
* Copyright (c) 2019-2020 Marc Alexander Lehmann <libev@schmorp.de>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modifica-

Loading…
Cancel
Save