platform/shared/ruby/ext/rho/rhoruby.h in rhodes-1.5.4 vs platform/shared/ruby/ext/rho/rhoruby.h in rhodes-1.5.5
- old
+ new
@@ -34,10 +34,12 @@
void RhoRubyStart();
void RhoRubyInitApp();
//void RhoRubyThreadStart();
//void RhoRubyThreadStop();
void rho_ruby_activateApp();
+void rho_ruby_start_threadidle();
+void rho_ruby_stop_threadidle();
VALUE createHash();
VALUE addTimeToHash(VALUE hash, const char* key, time_t val);
VALUE addIntToHash(VALUE hash, const char* key, int val);
VALUE addStrToHash(VALUE hash, const char* key, const char* val);
@@ -81,9 +83,16 @@
struct CRhoRubyStringOrInt rho_ruby_getstringorint(VALUE val);
const char* rho_ruby_getMessageText(const char* szName);
const char* rho_ruby_getErrorText(int nError);
const char* rho_ruby_internal_getErrorText(int nError);
+
+VALUE rho_ruby_create_mutex();
+void rho_ruby_destroy_mutex(VALUE val);
+VALUE rho_ruby_main_thread();
+VALUE rho_ruby_current_thread();
+void rho_ruby_lock_mutex(VALUE val);
+void rho_ruby_unlock_mutex(VALUE val);
#if defined(__cplusplus)
}
#endif