Hi - On 2016-03-31 at 17:02 Barret Rhoden <[email protected]> wrote: > The old style of O_NONBLOCKing was to set the #ip conversation to be > non-blocking. This tracked the nonblock on the conversation > (analogous to a server's file). Now we track it on the chan > (analagous to an OS's struct file*). This allows us to use fcntl > easily to toggle nonblock on a per-chan/file basis. It also allows > us to easily add support for nonblocking pipes.
I added a few more commits, fixing various select bugs. Here's the new stuff: The following changes since commit b20137eb6979c3ceceba3ed857f3832f0aa1daab: qio: Remove the old qnonblock() (2016-03-31 16:53:42 -0400) are available in the git repository at: [email protected]:brho/akaros.git net for you to fetch changes up to 7a14ea04a9f23296207996ff8b82c739cc75a210: Allow select() calls on FDs that are already ready (2016-04-01 15:50:25 -0400) ---------------------------------------------------------------- View this online at: https://github.com/brho/akaros/compare/b20137eb6979...7a14ea04a9f2 ---------------------------------------------------------------- Barret Rhoden (5): Remove the special casing of #pipe in lseek net: Add the RQ and WQ len to ipchaninfo Add a get_stack_pointer() helper to parlib Allow a thread to have multiple select() sets Allow select() calls on FDs that are already ready kern/src/net/devip.c | 4 +-- kern/src/ns/sysfile.c | 6 ----- user/iplib/select.c | 46 +++++++++++++++++++++++++++------ user/parlib/include/parlib/riscv/arch.h | 8 ++++++ user/parlib/include/parlib/x86/arch.h | 8 ++++++ 5 files changed, 56 insertions(+), 16 deletions(-) -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
