From 5ad42a8bd4ec754b9c33f9c0b22dceb0e812c4a5 Mon Sep 17 00:00:00 2001 From: Timo Dritschler Date: Thu, 15 Jan 2015 14:48:08 +0100 Subject: Fixed race conditions in kiro_server_realloc KIRO client now reacts to server realloc --- test/test-server.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test-server.c') diff --git a/test/test-server.c b/test/test-server.c index 91a3db5..87ff5d0 100644 --- a/test/test-server.c +++ b/test/test-server.c @@ -181,6 +181,8 @@ main (void) buffer = kiro_trb_dma_push (rb); print_current_frame (buffer, frame, 512, 512, rand); frame++; + if (frame % 1000 == 0) + kiro_server_realloc (server, kiro_trb_get_raw_buffer (rb), kiro_trb_get_raw_size (rb)); } done: -- cgit v1.2.3