From 3fcedce6999b2a00dc1266b2d98ba9f8442ab4b1 Mon Sep 17 00:00:00 2001 From: Jonathan Herman Date: Thu, 1 Nov 2012 18:40:26 -0400 Subject: More race condition fixes. --- litmus/dgl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'litmus/dgl.c') diff --git a/litmus/dgl.c b/litmus/dgl.c index d8d686b6f334..09314606866e 100644 --- a/litmus/dgl.c +++ b/litmus/dgl.c @@ -701,6 +701,8 @@ void add_group_req(struct dgl *dgl, struct dgl_group_req *greq, int cpu) } } } + + print_state(dgl); } /** @@ -714,6 +716,7 @@ void update_group_req(struct dgl *dgl, struct dgl_group_req *greq) TRACE_GREQ(greq, "Blocker has called update\n"); release_cpu(dgl, greq); will_wait_to_waiting(dgl, greq); + print_state(dgl); } else { TRACE_GREQ(greq, "Unused update\n"); } @@ -779,6 +782,7 @@ void remove_group_req(struct dgl *dgl, struct dgl_group_req *greq) } --dgl->requests; + print_state(dgl); } /** -- cgit v1.2.2