From: cherierm Date: Fri, 21 Sep 2007 15:45:40 +0000 (+0000) Subject: now this file does not used the native locks X-Git-Tag: v3.3~1131 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/cc970a2e444049bfa014679e0d987e2366589300?ds=sidebyside now this file does not used the native locks git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4660 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/java/jmsg.c b/src/java/jmsg.c index d27abbf43d..c55aab6098 100644 --- a/src/java/jmsg.c +++ b/src/java/jmsg.c @@ -1117,12 +1117,6 @@ Java_simgrid_msg_Msg_createEnvironment(JNIEnv* env, jclass cls,jstring jplatform JNIEXPORT void JNICALL Java_simgrid_msg_Msg_waitSignal(JNIEnv* env, jclass cls, jobject jprocess) { - xbt_os_mutex_t creation_mutex = xbt_creation_mutex_get(); - xbt_os_cond_t creation_cond = xbt_creation_cond_get(); - xbt_os_mutex_lock(creation_mutex); - xbt_os_cond_signal( creation_cond ); - xbt_os_mutex_unlock( creation_mutex ); - } JNIEXPORT void JNICALL