- //VALUE process;
- /*if (context)
- {
- smx_ctx_ruby_t ctx_ruby = (smx_ctx_ruby_t) context;
- rb_process_isProcess(ctx_ruby->process);
- if (ctx_ruby->process){
- // if the Ruby Process is Alive , Join it
- if ( rb_process_isAlive(ctx_ruby->process))
- {
- process = ctx_ruby->process;
- ctx_ruby->process = Qnil;
- rb_process_join(process);
- }
- }
- free(context);
- context = NULL;
- } */
-
- if (context) {
- DEBUG1("smx_ctx_ruby_free_context(%p)",context);
- free (context);
- context = NULL;
- }
-}
-
-static void smx_ctx_ruby_start(smx_context_t context) {
- DEBUG1("smx_ctx_ruby_start(%s) (nothing to do)",context->argv[0]);
- /* Already Done .. Since a Ruby process is launched within initialization
- We Start it Within the Initializer ... We Use the Semaphore To Keep
- the thread alive waiting for mutex signal to execute the main*/