changed type of lsn variables to "lsn_t"
This commit is contained in:
parent
8e0bd2ecd2
commit
959233566c
1 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ compensated_function int logMemory_Iterator_next (int xid, void * impl) {
|
||||||
pthread_mutex_lock(&(fifo->readerMutex));
|
pthread_mutex_lock(&(fifo->readerMutex));
|
||||||
pthread_mutex_lock(&(fifo->mutex));
|
pthread_mutex_lock(&(fifo->mutex));
|
||||||
size_t size;
|
size_t size;
|
||||||
int lsn;
|
lsn_t lsn;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if(fifo->eof != -1 && fifo->eof == ringBufferReadPosition(fifo->ringBuffer)) {
|
if(fifo->eof != -1 && fifo->eof == ringBufferReadPosition(fifo->ringBuffer)) {
|
||||||
|
@ -146,7 +146,7 @@ compensated_function int logMemory_Iterator_tryNext (int xid, void * impl) {
|
||||||
}
|
}
|
||||||
pthread_mutex_lock(&(fifo->mutex));
|
pthread_mutex_lock(&(fifo->mutex));
|
||||||
size_t size;
|
size_t size;
|
||||||
int lsn;
|
lsn_t lsn;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if(fifo->eof != -1 && fifo->eof == ringBufferReadPosition(fifo->ringBuffer)) {
|
if(fifo->eof != -1 && fifo->eof == ringBufferReadPosition(fifo->ringBuffer)) {
|
||||||
|
@ -234,7 +234,7 @@ compensated_function int logMemory_Iterator_nextOrEmpty (int xid, void * impl) {
|
||||||
pthread_mutex_lock(&(fifo->readerMutex));
|
pthread_mutex_lock(&(fifo->readerMutex));
|
||||||
pthread_mutex_lock(&(fifo->mutex));
|
pthread_mutex_lock(&(fifo->mutex));
|
||||||
size_t size;
|
size_t size;
|
||||||
int lsn;
|
lsn_t lsn;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if(fifo->eof != -1 && fifo->eof == ringBufferReadPosition(fifo->ringBuffer)) {
|
if(fifo->eof != -1 && fifo->eof == ringBufferReadPosition(fifo->ringBuffer)) {
|
||||||
|
|
Loading…
Reference in a new issue