Changeset a80db97
- Timestamp:
- Mar 2, 2021, 1:20:15 PM (2 years ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 6047b00
- Parents:
- ed2cb3c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/http_ring.cpp
red2cb3c ra80db97 465 465 while(!done) { 466 466 // Submit all the answers we have and wait for responses 467 int ret = io_uring_submit _and_wait(ring, 1);467 int ret = io_uring_submit(ring); 468 468 local.to_submit = 0; 469 469 … … 479 479 480 480 481 //eventfd_t val;482 //ret = eventfd_read(blockfd, &val);483 484 // //check errors485 //if (ret < 0) {486 //fprintf( stderr, "eventfd read error: (%d) %s\n", (int)errno, strerror(errno) );487 //exit(EXIT_FAILURE);488 //}481 eventfd_t val; 482 ret = eventfd_read(blockfd, &val); 483 484 // check errors 485 if (ret < 0) { 486 fprintf( stderr, "eventfd read error: (%d) %s\n", (int)errno, strerror(errno) ); 487 exit(EXIT_FAILURE); 488 } 489 489 490 490 struct io_uring_cqe *cqe;
Note: See TracChangeset
for help on using the changeset viewer.