From: Christophe ThiƩry Date: Tue, 15 Nov 2011 15:54:33 +0000 (+0100) Subject: Remove a useless function. The default one does the same thing. X-Git-Tag: exp_20120216~257 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ca67e184cafb7c777811e62f430517e37e95d876?hp=868b3bf7dbd29afa8863377e4eec8305bb2433ba Remove a useless function. The default one does the same thing. --- diff --git a/src/simix/smx_context_sysv.c b/src/simix/smx_context_sysv.c index f46dbad9fa..8bcc0cf5a6 100644 --- a/src/simix/smx_context_sysv.c +++ b/src/simix/smx_context_sysv.c @@ -85,7 +85,6 @@ void SIMIX_ctx_sysv_factory_init(smx_context_factory_t *factory) (*factory)->stop = smx_ctx_sysv_stop_parallel; (*factory)->suspend = smx_ctx_sysv_suspend_parallel; (*factory)->runall = smx_ctx_sysv_runall_parallel; - (*factory)->self = smx_ctx_sysv_self_parallel; #else THROWF(arg_error, 0, "No thread support for parallel context execution"); #endif @@ -297,10 +296,3 @@ static void smx_ctx_sysv_runall_parallel(void) simix_global->process_to_run); #endif } - -smx_context_t smx_ctx_sysv_self_parallel(void) -{ - /*smx_context_t self_context = (smx_context_t) xbt_os_thread_get_extra_data(); - return self_context ? self_context : (smx_context_t) maestro_context;*/ - return SIMIX_context_get_current(); -}