Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add waitCompletion to Comm as a binding of MSG_comm_wait
[simgrid.git] / src / jmsg_comm.h
1 /* Functions related to the java comm instances                                                                                                                                 */
2
3 /* Copyright (c) 2012. The SimGrid Team. All rights reserved.                   */
4
5 #ifndef MSG_JCOMM_H
6 #define MSG_JCOMM_H
7 #include <jni.h>
8 #include <msg/msg.h>
9 void jcomm_bind_task(JNIEnv *env, jobject jcomm);
10 void jcomm_throw(JNIEnv *env, MSG_error_t status);
11 JNIEXPORT void JNICALL
12 Java_org_simgrid_msg_Comm_unbind(JNIEnv *env, jobject jcomm);
13
14 JNIEXPORT jboolean JNICALL
15 Java_org_simgrid_msg_Comm_test(JNIEnv *env, jobject jcomm);
16
17 JNIEXPORT void JNICALL
18 Java_org_simgrid_msg_Comm_waitCompletion(JNIEnv *env, jobject jcomm, jdouble timeout);
19 #endif /* MSG_JCOMM_H */