From: cherierm Date: Fri, 16 Feb 2007 15:35:01 +0000 (+0000) Subject: remove some commented code X-Git-Tag: v3.3~2201 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e39ab4fb2d41eb77c2d069581c9ecf32ae1991b2 remove some commented code git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3158 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/context.c b/src/xbt/context.c index c96a2cde82..aa49e3bc99 100644 --- a/src/xbt/context.c +++ b/src/xbt/context.c @@ -272,11 +272,6 @@ void xbt_context_init(void) if(!current_context){ current_context = init_context = xbt_new0(s_xbt_context_t,1); - /*#ifdef USE_WIN_THREADS - win_thread_mutex_init(&(current_context->mutex)); - win_thread_cond_init(&(current_context->cond)); - #endif*/ - init_context->exception = xbt_new(ex_ctx_t,1); XBT_CTX_INITIALIZE(init_context->exception); __xbt_ex_ctx = __context_ex_ctx; @@ -427,10 +422,7 @@ void xbt_context_schedule(xbt_context_t context) void xbt_context_exit(void) { xbt_context_t context=NULL; - /*#ifdef USE_WIN_THREADS - win_thread_mutex_destroy(&(current_context->mutex)); - win_thread_cond_destroy(&(current_context->cond)); - #endif*/ + xbt_context_empty_trash(); xbt_swag_free(context_to_destroy);