Branch: refs/heads/master
Home:
https://github.com/asalkeld/libqb
Commit: 3b31023d84b0eff3f73dfb0547f91d4eb9c446ac
https://github.com/asalkeld/libqb/commit/3b31023d84b0eff3f73dfb0547f91d4e...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-07-16 (Mon, 16 Jul 2012)
Changed paths:
M lib/ipc_us.c
M lib/ipcc.c
Log Message:
-----------
IPC: use calloc instead of malloc to fix valgrind warnings
This is to cleanup some valgrind warnings.
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
Commit: 121abe3dbe136b86758baa30e7e73ac34e9fd47b
https://github.com/asalkeld/libqb/commit/121abe3dbe136b86758baa30e7e73ac3...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-07-16 (Mon, 16 Jul 2012)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
RB: use internal reclaim function
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
Commit: deddaea86c8563eb21bb3792b22b8ea531692a18
https://github.com/asalkeld/libqb/commit/deddaea86c8563eb21bb3792b22b8ea5...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-07-16 (Mon, 16 Jul 2012)
Changed paths:
M lib/ipc_shm.c
Log Message:
-----------
RB: convert the rb_peek() status into a recv like status.
peek returns 0 on no data, so convert that to -EAGAIN.
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
Commit: bdc63cdf1aa317c698251fd0a23e081c86a57404
https://github.com/asalkeld/libqb/commit/bdc63cdf1aa317c698251fd0a23e081c...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-07-16 (Mon, 16 Jul 2012)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
RB: if read or peek don't get the message then re-post to the semaphore
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
Commit: 6e1d9054c330cdc2fa7baabf56cbeea3a05db014
https://github.com/asalkeld/libqb/commit/6e1d9054c330cdc2fa7baabf56cbeea3...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-07-16 (Mon, 16 Jul 2012)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
RB: use sem_getvalue as a tie breaker when read_pt == write_pt
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
Commit: 15d0291a8a148edc42b064acbe17699731b2cf42
https://github.com/asalkeld/libqb/commit/15d0291a8a148edc42b064acbe176997...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-07-16 (Mon, 16 Jul 2012)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
RB: cleanup the macros for wrapping the index
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
Commit: b9a992a5d3f70f8be86f1bbcf81f209f5a2e5ba9
https://github.com/asalkeld/libqb/commit/b9a992a5d3f70f8be86f1bbcf81f209f...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-07-17 (Tue, 17 Jul 2012)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
RB: be more explicit about the word alignment
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
Commit: 3feb3b6b8ff373ac02852432a89461946b10528e
https://github.com/asalkeld/libqb/commit/3feb3b6b8ff373ac02852432a8946194...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-07-17 (Tue, 17 Jul 2012)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
RB: improve the debug print outs
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
Commit: e5be0396a7510d24b7e5e7a315c7f2f955e31452
https://github.com/asalkeld/libqb/commit/e5be0396a7510d24b7e5e7a315c7f2f9...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2012-07-17 (Tue, 17 Jul 2012)
Changed paths:
M lib/ringbuffer.c
Log Message:
-----------
RB: set the new read pointer after clearing the header.
This is to prevent a situation where a fast writer will
write their new chunk between setting the new read pointer
and clearing the header.
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
Compare:
https://github.com/asalkeld/libqb/compare/59bdedf59bee...e5be0396a751