- smx_ctx_java_t ctx_java;
-
- ctx_java = (smx_ctx_java_t) context;
-
- /*FIXME: is this really necessary? Seems to. */
- if (my_current_context->iwannadie) {
- XBT_INFO("I wannadie");
- /* The maestro call xbt_context_stop() with an exit code set to one */
- if (ctx_java->jprocess) {
- /* if the java process is alive schedule it */
- if (jprocess_is_alive(ctx_java->jprocess, get_current_thread_env())) {
- jprocess_schedule(my_current_context);
- jprocess = ctx_java->jprocess;
- ctx_java->jprocess = NULL;