Source

mutated_ocaml / otherlibs / systhreads / st_stubs.c

Diff from to

File otherlibs/systhreads/st_stubs.c

 /*                                                                     */
 /***********************************************************************/
 
-/* $Id: st_stubs.c 12324 2012-04-08 17:11:47Z xleroy $ */
+/* $Id: st_stubs.c 12800 2012-07-30 18:59:07Z doligez $ */
 
 #include "alloc.h"
 #include "backtrace.h"
     sz += (value *) th->top_of_stack - (value *) th->bottom_of_stack;
 #else
     sz += th->stack_high - th->sp;
-#endif    
+#endif
   }
   if (prev_stack_usage_hook != NULL)
     sz += prev_stack_usage_hook();
 #endif
   /* The thread now stops running */
   return 0;
-}  
+}
 
 CAMLprim value caml_thread_new(value clos)          /* ML */
 {
     caml_thread_remove_info(th);
     st_check_error(err, "Thread.create");
   }
-  /* Create the tick thread if not already done.  
+  /* Create the tick thread if not already done.
      Because of PR#4666, we start the tick thread late, only when we create
      the first additional thread in the current process*/
   if (! caml_tick_thread_running) {
   return 1;
 }
 
-/* Unregister a thread that was created from C and registered with 
+/* Unregister a thread that was created from C and registered with
    the function above */
 
 CAMLexport int caml_c_thread_unregister(void)