Changeset 948ed9a
- Timestamp:
- 01/11/11 13:17:19 (10 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 09dd4f1
- Parents:
- 5bd27a3
- Location:
- lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/ior-thread.c
r88346e2 r948ed9a 76 76 int in_buffer; 77 77 /* The read offset into the current buffer */ 78 int offset;78 off_t offset; 79 79 /* The reading thread */ 80 80 pthread_t producer; … … 192 192 } 193 193 194 static off_t thread_read(io_t *state, void *buffer, const off_t to_read)194 static off_t thread_read(io_t *state, void *buffer, off_t len) 195 195 { 196 196 int slice; 197 197 int copied=0; 198 198 int newbuffer; 199 int len = to_read;200 199 201 200 while(len>0) { -
lib/ior-zlib.c
r8608a0fa r948ed9a 33 33 34 34 35 #include "wandio.h" 35 36 #include <zlib.h> 36 #include "wandio.h"37 37 #include <sys/types.h> 38 38 #include <sys/stat.h> -
lib/wandio.h
rbaef9df r948ed9a 34 34 #ifndef IO_H 35 35 #define IO_H 1 /**< Guard Define */ 36 #include "config.h" 36 37 #include <sys/types.h> 37 38 #include <stdio.h>
Note: See TracChangeset
for help on using the changeset viewer.