Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let the context version compile properly after the last 'sanitization' of the backtra...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 16 Jul 2007 08:50:41 +0000 (08:50 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 16 Jul 2007 08:50:41 +0000 (08:50 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3795 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/xbt_os_thread_stubs.c

index a3b684d..ca6ca8e 100644 (file)
@@ -31,68 +31,68 @@ void xbt_os_thread_mod_exit(void) {}
 /* Main functions */
 
 xbt_os_thread_t xbt_os_thread_create(pvoid_f_pvoid_t start_routine,void* param) {
 /* Main functions */
 
 xbt_os_thread_t xbt_os_thread_create(pvoid_f_pvoid_t start_routine,void* param) {
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_thread_create)");
 }
 
 void xbt_os_thread_exit(int *retcode){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_thread_create)");
 }
 
 void xbt_os_thread_exit(int *retcode){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_thread_exit)");
 }
 
 xbt_os_thread_t xbt_os_thread_self(void){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_thread_exit)");
 }
 
 xbt_os_thread_t xbt_os_thread_self(void){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_thread_self)");
 }
 
 void xbt_os_thread_yield(void){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_thread_self)");
 }
 
 void xbt_os_thread_yield(void){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_thread_yield)");
 }
 
 
 xbt_os_mutex_t xbt_os_mutex_init(void){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_thread_yield)");
 }
 
 
 xbt_os_mutex_t xbt_os_mutex_init(void){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_init)");
 }
 
 void xbt_os_mutex_lock(xbt_os_mutex_t mutex){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_init)");
 }
 
 void xbt_os_mutex_lock(xbt_os_mutex_t mutex){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_lock)");
 }
 
 void xbt_os_mutex_unlock(xbt_os_mutex_t mutex){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_lock)");
 }
 
 void xbt_os_mutex_unlock(xbt_os_mutex_t mutex){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_unlock)");
 }
 
 void xbt_os_mutex_destroy(xbt_os_mutex_t mutex){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_unlock)");
 }
 
 void xbt_os_mutex_destroy(xbt_os_mutex_t mutex){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_destroy)");
 }
 
 xbt_os_cond_t xbt_os_cond_init(void){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_mutex_destroy)");
 }
 
 xbt_os_cond_t xbt_os_cond_init(void){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_init)");
 }
 
 void xbt_os_cond_wait(xbt_os_cond_t cond, xbt_os_mutex_t mutex){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_init)");
 }
 
 void xbt_os_cond_wait(xbt_os_cond_t cond, xbt_os_mutex_t mutex){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_wait)");
 }
 
 void xbt_os_cond_signal(xbt_os_cond_t cond){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_wait)");
 }
 
 void xbt_os_cond_signal(xbt_os_cond_t cond){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_signal)");
 }
 
 void xbt_os_cond_broadcast(xbt_os_cond_t cond){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_signal)");
 }
 
 void xbt_os_cond_broadcast(xbt_os_cond_t cond){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_broadcast)");
 }
 
 void xbt_os_cond_destroy(xbt_os_cond_t cond){
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_broadcast)");
 }
 
 void xbt_os_cond_destroy(xbt_os_cond_t cond){
-   xbt_backtrace_display();
+   xbt_backtrace_display_current();
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_destroy)");
 }
 
    xbt_die("No pthread in SG when compiled against the ucontext (xbt_os_cond_destroy)");
 }