Skip to content
Snippets Groups Projects
  1. Dec 04, 2013
  2. Dec 03, 2013
  3. Nov 22, 2013
  4. Nov 21, 2013
  5. Oct 16, 2013
  6. Sep 15, 2013
    • Nadav Har'El's avatar
      Add copyright statement to core/* · 4c0b39f3
      Nadav Har'El authored
      Added Cloudius copyright statement to core/*.
      
      poll.cc already had a BSD copyright statement, I believe this is a mistake
      (I think Guy wrote this code from scratch), but not wanting to rush to a
      conclusion I'm leaving both copyright statements and we should address this
      issue later.
      4c0b39f3
  7. Jul 08, 2013
    • Nadav Har'El's avatar
      Don't include <osv/poll.h> in <osv/file.h> · 492efb77
      Nadav Har'El authored
      We can't include osv/poll.h from osv/file.h. It's not needed there,
      and causes a mess now that I added a use of BSD's "struct mtx" to
      poll.h (because it turns out we have code using <osv/file.h> and using
      the name "mtx" for something else).
      
      After removing the unneeded include of <osv/poll.h> from osv/file.h,
      we need to add include <sys/poll.h> to a few additional source files
      (note include of sys/poll.h, not osv/poll.h).
      492efb77
  8. Jun 30, 2013
    • Nadav Har'El's avatar
      epoll: use tracepoints, remove debugging messages · 642acc90
      Nadav Har'El authored
      Replace debug() messages in epoll with useful tracepoints.
      642acc90
    • Nadav Har'El's avatar
      epoll: make epoll-poll event conversion more explicit · 89e12d88
      Nadav Har'El authored
      epoll and poll() use different event names (e.g., EPOLLIN vs. POLLIN),
      but in practice the bits are identical. Make this conversion more
      explicit, and add static_assert()s that the bits are indeed identical.
      
      We still have dynamic assert() that the bits we don't support -
      EPOLLET (for edge triggered behavior) and EPOLLONESHOT - aren't
      used.
      
      This patch only makes the code cleaner, but doesn't change anything
      in its behavior.`
      89e12d88
  9. Jun 25, 2013
    • Nadav Har'El's avatar
      Fix epoll bug · 9b1816c5
      Nadav Har'El authored
      The "events", not "revents", field of the poll structure needs to be set
      before calling poll().
      9b1816c5
  10. Jun 19, 2013
    • Nadav Har'El's avatar
      Temporary, inefficient, epoll implementation · ad26fb4b
      Nadav Har'El authored
      This is an epoll_*() implementation which calls poll() to do the real work.
      This is of course a terrible implementation, which makes epoll() less
      efficient, instead of more efficient, then poll(). However, it allows me
      to progress with running Jetty in parallel with perfecting epoll.
      ad26fb4b
Loading