From ac1ac47758c06efeca6b7e80bcea7a769b946c9a Mon Sep 17 00:00:00 2001 From: cherierm Date: Fri, 21 Sep 2007 15:46:02 +0000 Subject: [PATCH] now this file does not used the native locks git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4661 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/java/jxbt_context.h | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/java/jxbt_context.h b/src/java/jxbt_context.h index 99f90cb424..c0c7b0c63b 100644 --- a/src/java/jxbt_context.h +++ b/src/java/jxbt_context.h @@ -23,29 +23,10 @@ SG_BEGIN_DECL() - /* pointers to schedule and unschedule functions */ typedef void (*pfn_schedule_t)(xbt_context_t); typedef pfn_schedule_t pfn_unschedule_t; -/** - * This function gets the context of a java process instance. - * - * @param index The id (index in the table) of the java process object. - * - * @return The context of the java process object. - */ -xbt_context_t xbt_context_get_by_id(jlong index); - -/* - * This function appends a context in the table of contexts of the simulation. - * - * @param context The context to append. - * - * @return Returns 0 if successful the function returns 0, and -1 otherwise. - */ -int xbt_context_append(xbt_context_t context); - /* * This function is called by the simulator to terminate a java process instance. * @@ -63,12 +44,6 @@ void __context_exit(xbt_context_t context ,int value); */ void jcontext_exit(xbt_context_t context ,int value,JNIEnv* env); -/** Returns the condition used to synchronise the creation of a java process. */ -xbt_os_cond_t xbt_creation_cond_get(void); - -/** Returns the mutex used to synchronise the creation of a java process */ -xbt_os_mutex_t xbt_creation_mutex_get(void); - SG_END_DECL() #endif /* !_XBT_CONTEXT_PRIVATE_H */ -- 2.20.1