From: Arnaud Giersch Date: Tue, 12 Feb 2013 23:52:41 +0000 (+0100) Subject: Typos: binded -> bound. X-Git-Tag: v3_9_90~494^2~2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a4bcf3181ca71a85b9c86a2ba21697f7ace4dc37?hp=17348a216907a911be1ff551533ff2884cc74685 Typos: binded -> bound. --- diff --git a/src/bindings/java/jmsg_process.c b/src/bindings/java/jmsg_process.c index b78ba98d48..7e40aec448 100644 --- a/src/bindings/java/jmsg_process.c +++ b/src/bindings/java/jmsg_process.c @@ -132,7 +132,7 @@ Java_org_simgrid_msg_Process_create(JNIEnv * env, /* bind/retrieve the msg host */ host = MSG_get_host_by_name(hostname); - if (!(host)) { /* not binded */ + if (!(host)) { /* not bound */ jxbt_throw_host_not_found(env, hostname); return; } diff --git a/src/bindings/java/jmsg_vm.c b/src/bindings/java/jmsg_vm.c index bce95443d2..626afd53a5 100644 --- a/src/bindings/java/jmsg_vm.c +++ b/src/bindings/java/jmsg_vm.c @@ -60,8 +60,8 @@ Java_org_simgrid_msg_VM_bind(JNIEnv *env, jobject jvm, jobject jprocess) { msg_vm_t vm = jvm_get_native(env,jvm); msg_process_t process = jprocess_to_native_process(jprocess,env); - xbt_assert((vm != NULL), "VM object is not binded"); - xbt_assert((process != NULL), "Process object is not binded."); + xbt_assert((vm != NULL), "VM object is not bound"); + xbt_assert((process != NULL), "Process object is not bound."); MSG_vm_bind(vm,process); } diff --git a/src/bindings/java/org/simgrid/msg/Host.java b/src/bindings/java/org/simgrid/msg/Host.java index 6684147ed6..c00dd54ba9 100644 --- a/src/bindings/java/org/simgrid/msg/Host.java +++ b/src/bindings/java/org/simgrid/msg/Host.java @@ -16,7 +16,7 @@ package org.simgrid.msg; * Thus it is represented as a physical resource with computing capabilities, some * mailboxes to enable running process to communicate with remote ones, and some private * data that can be only accessed by local process. An instance of this class is always - * binded with the corresponding native host. All the native hosts are automatically created + * bound with the corresponding native host. All the native hosts are automatically created * during the call of the method Msg.createEnvironment(). This method take as parameter a * platform file which describes all elements of the platform (host, link, root..). * You cannot create a host yourself. diff --git a/src/bindings/java/org/simgrid/msg/Process.java b/src/bindings/java/org/simgrid/msg/Process.java index 650606c050..2b2c4b2907 100644 --- a/src/bindings/java/org/simgrid/msg/Process.java +++ b/src/bindings/java/org/simgrid/msg/Process.java @@ -195,7 +195,7 @@ public abstract class Process implements Runnable { } /** * The natively implemented method to create an MSG process. - * @param hostName A valid (binded) host where create the process. + * @param hostName A valid (bound) host where create the process. */ protected native void create(String hostName) throws HostNotFoundException; /** diff --git a/src/bindings/java/org/simgrid/msg/VM.java b/src/bindings/java/org/simgrid/msg/VM.java index 9389a554bd..785c3df89f 100644 --- a/src/bindings/java/org/simgrid/msg/VM.java +++ b/src/bindings/java/org/simgrid/msg/VM.java @@ -58,7 +58,7 @@ public class VM { */ public native void bind(Process process); /** Removes the given process from the given VM, and kill it - * Will raise a ProcessNotFound exception if the process were not binded to that VM + * Will raise a ProcessNotFound exception if the process were not bound to that VM */ public native void unbind(Process process); /** Immediately change the host on which all processes are running diff --git a/src/bindings/java/smx_context_cojava.h b/src/bindings/java/smx_context_cojava.h index 1f7a8dea49..695af57cbc 100644 --- a/src/bindings/java/smx_context_cojava.h +++ b/src/bindings/java/smx_context_cojava.h @@ -18,7 +18,7 @@ SG_BEGIN_DECL() typedef struct s_smx_ctx_cojava { s_smx_ctx_base_t super; /* Fields of super implementation */ - jobject jprocess; /* the java process instance binded with the msg process structure */ + jobject jprocess; /* the java process instance bound with the msg process structure */ JNIEnv *jenv; /* jni interface pointer associated to this thread */ jobject jcoroutine; /* java coroutine object */ int bound:1; diff --git a/src/bindings/java/smx_context_java.h b/src/bindings/java/smx_context_java.h index 084c5d4ade..789bf1772f 100644 --- a/src/bindings/java/smx_context_java.h +++ b/src/bindings/java/smx_context_java.h @@ -18,7 +18,7 @@ SG_BEGIN_DECL() typedef struct s_smx_ctx_java { s_smx_ctx_base_t super; /* Fields of super implementation */ - jobject jprocess; /* the java process instance binded with the msg process structure */ + jobject jprocess; /* the java process instance bound with the msg process structure */ JNIEnv *jenv; /* jni interface pointer associated to this thread */ xbt_os_thread_t thread; xbt_os_sem_t begin; /* this semaphore is used to schedule/yield the process */ diff --git a/src/msg/msg_vm.c b/src/msg/msg_vm.c index 175317b974..f46e7ca6c8 100644 --- a/src/msg/msg_vm.c +++ b/src/msg/msg_vm.c @@ -90,7 +90,7 @@ void MSG_vm_bind(msg_vm_t vm, msg_process_t process) { /** @brief Removes the given process from the given VM, and kill it * @ingroup msg_VMs * - * Will raise a not_found exception if the process were not binded to that VM + * Will raise a not_found exception if the process were not bound to that VM */ void MSG_vm_unbind(msg_vm_t vm, msg_process_t process) { int pos = xbt_dynar_search(vm->processes,process);