/branches/rcu/kernel/test/synch/rcu1.c |
---|
36,7 → 36,7 |
#include <arch.h> |
#include <preemption.h> |
bool gquiet; |
bool called; |
volatile bool called; |
static void callback(void* data) |
{ |
57,7 → 57,7 |
rcu_sync_callback(&callback, NULL); |
if (!quiet) |
printf("Callback scheduled\n"); |
while(!called); |
// while(!called); |
rcu_synchronize(); |
if (!quiet) |
printf("Synchronized\n"); |