/* 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;
}
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);
}
* 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.
}
/**
* 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;
/**
*/
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
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;
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 */
/** @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);