Changeset 0640189


Ignore:
Timestamp:
Aug 4, 2021, 2:40:05 PM (12 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation
Children:
5541ea3
Parents:
e19fadd
Message:

Added example of a server using o_NONBLOCK, which does NOT work with io_uring

Location:
example/io/simple
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • example/io/simple/server.c

    re19fadd r0640189  
    105105                                }
    106106
    107                                 printf("'%.*s'\n", cqe->res, data);
     107                                printf("'%.*s'\n", cqe->res - 1, data);
    108108
    109109                                async_read( newsock );
Note: See TracChangeset for help on using the changeset viewer.