diff options
author | Timo Dritschler <timo.dritschler@kit.edu> | 2015-01-15 14:48:08 +0100 |
---|---|---|
committer | Timo Dritschler <timo.dritschler@kit.edu> | 2015-01-30 18:19:37 +0100 |
commit | 5ad42a8bd4ec754b9c33f9c0b22dceb0e812c4a5 (patch) | |
tree | ae15468bd5346b4402d84cbaf0cb6657c0d17bd5 /test | |
parent | 6a931a1185aa8170636b8f55c38ad91af6f897f6 (diff) | |
download | kiro-5ad42a8bd4ec754b9c33f9c0b22dceb0e812c4a5.tar.gz kiro-5ad42a8bd4ec754b9c33f9c0b22dceb0e812c4a5.tar.bz2 kiro-5ad42a8bd4ec754b9c33f9c0b22dceb0e812c4a5.tar.xz kiro-5ad42a8bd4ec754b9c33f9c0b22dceb0e812c4a5.zip |
Fixed race conditions in kiro_server_realloc
KIRO client now reacts to server realloc
Diffstat (limited to 'test')
-rw-r--r-- | test/test-server.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |