Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
now this file does not used the native locks
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 21 Sep 2007 15:45:40 +0000 (15:45 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 21 Sep 2007 15:45:40 +0000 (15:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4660 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/java/jmsg.c

index d27abbf..c55aab6 100644 (file)
@@ -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) {
 
 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 
 }
 
 JNIEXPORT void JNICALL