From 44cb8e68d885f3173434f4f731fa2e335cc0e184 Mon Sep 17 00:00:00 2001 From: Alexander Esilevich Date: Mon, 4 Oct 2010 21:12:31 +0700 Subject: [PATCH] Testing of UNW_CACHE_PER_THREAD caching policy is disabled --- tests/rs-race.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/rs-race.c b/tests/rs-race.c index c67584c1..f41ac48f 100644 --- a/tests/rs-race.c +++ b/tests/rs-race.c @@ -1500,10 +1500,11 @@ main (int argc, char **argv) unw_set_caching_policy (unw_local_addr_space, UNW_CACHE_GLOBAL); doit (); - if (verbose) - printf ("Caching: per-thread\n"); - unw_set_caching_policy (unw_local_addr_space, UNW_CACHE_PER_THREAD); - doit (); + // UNW_CACHE_PER_THREAD is not yet implemented +// if (verbose) +// printf ("Caching: per-thread\n"); +// unw_set_caching_policy (unw_local_addr_space, UNW_CACHE_PER_THREAD); +// doit (); if (verbose) printf ("SUCCESS\n");