Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
spellchecking instead of sleeping
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 20 Apr 2016 00:01:27 +0000 (02:01 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 20 Apr 2016 00:01:27 +0000 (02:01 +0200)
doc/doxygen/help.doc
examples/msg/async-wait/async-wait.c
examples/msg/mc/bugged1_liveness.c
examples/msg/mc/bugged2_liveness.c
examples/msg/mc/centralized_mutex.c
include/simgrid/s4u/host.hpp
include/xbt/cunit.h
src/mc/LocationList.hpp
src/mc/mc_global.cpp
src/surf/sg_platf.cpp
tools/internal/spell_dict.txt

index 34b8dcc..e228c96 100644 (file)
@@ -11,7 +11,7 @@ have several ways of doing so:
  - If your question is about the internals and not about using
    SimGrid, you may prefer to send your question to the 
    <a href="mailto:simgrid-devel@lists.gforge.inria.fr">Developers Mailing list</a>
- - Join us on IRC and ask your question directly on the chanel \#simgrid at
+ - Join us on IRC and ask your question directly on the channel \#simgrid at
    \b irc.debian.org. Be warned that even if many people are connected to
    the chanel, they may be doing some useful stuff instead of lurking
    on IRC. So don't be surprised if you don't get an answer in the same
index 49e06ea..a6dc316 100644 (file)
@@ -12,7 +12,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_async_wait, "Messages specific for this msg exa
  * 
  * @section msg_ex_async Asynchronous communications
  * 
- * In addition to the fully documented example of \ref MSG_ex_asynchronous_communications, there are several othe
+ * In addition to the fully documented example of \ref MSG_ex_asynchronous_communications, there are several other
  * examples shipped in the archive:
  * 
  * - <b>Basic example: async-wait/async-wait.c</b>. Illustrates the use of asynchronous functions (@ref MSG_task_isend,
index 949020b..fda0554 100644 (file)
@@ -138,7 +138,7 @@ static int raw_client(int argc, char *argv[])
 {
 #ifdef GARBAGE_STACK
   // At this point the stack of the callee (client) is probably filled with
-  // zeros and unitialized variables will contain 0. This call will place
+  // zeros and uninitialized variables will contain 0. This call will place
   // random byes in the stack of the callee:
   garbage_stack();
 #endif
index b82e3ac..2310f28 100644 (file)
@@ -32,8 +32,8 @@ static int coordinator(int argc, char *argv[])
         XBT_INFO("CS already used.");
         msg_task_t answer = MSG_task_create("not grant", 0, 1000, NULL);
         MSG_task_send(answer, req);
-      } else {                  // can serve it immediatly
-        XBT_INFO("CS idle. Grant immediatly");
+      } else {                  // can serve it immediately
+        XBT_INFO("CS idle. Grant immediately");
         msg_task_t answer = MSG_task_create("grant", 0, 1000, NULL);
         MSG_task_send(answer, req);
         CS_used = 1;
index 64a4461..c3105fc 100644 (file)
@@ -30,8 +30,8 @@ static int coordinator(int argc, char *argv[])
       if (CS_used) {            // need to push the request in the vector
         XBT_INFO("CS already used. Queue the request");
         xbt_dynar_push(requests, &req);
-      } else {                  // can serve it immediatly
-        XBT_INFO("CS idle. Grant immediatly");
+      } else {                  // can serve it immediately
+        XBT_INFO("CS idle. Grant immediately");
         msg_task_t answer = MSG_task_create("grant", 0, 1000, NULL);
         MSG_task_send(answer, req);
         CS_used = 1;
index c686b35..c129ad2 100644 (file)
@@ -166,7 +166,7 @@ public class Host {
 
   /**
    * This method returns the number of tasks currently running on a host.
-   * The external load (comming from an availability trace) is not taken in account.
+   * The external load (coming from an availability trace) is not taken in account.
    *
    * @return      The number of tasks currently running on a host.
    */ 
index 9233bd6..a2c95e9 100644 (file)
@@ -6,7 +6,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-/* This is partially inspirated from the OSSP ts (Test Suite Library)       */
+/* This is partially inspired from the OSSP ts (Test Suite Library)         */
 
 #ifndef _XBT_CUNIT_H_
 #define _XBT_CUNIT_H_
index 1e1ed75..52efb5b 100644 (file)
@@ -25,7 +25,7 @@
 namespace simgrid {
 namespace dwarf {
 
-/** \brief A DWARF expression with optional validity contraints */
+/** \brief A DWARF expression with optional validity constraints */
 class LocationListEntry {
 public:
   typedef simgrid::xbt::Range<std::uint64_t> range_type;
index 8cd7f9f..5813e62 100644 (file)
@@ -74,7 +74,7 @@ xbt_automaton_t property_automaton = nullptr;
 FILE *dot_output = nullptr;
 
 
-/*******************************  Initialisation of MC *******************************/
+/*******************************  Initialization of MC *******************************/
 /*********************************************************************************/
 
 void MC_init_dot_output()
@@ -139,7 +139,7 @@ void dumpStack(FILE* file, unw_cursor_t cursor)
 
     int status;
 
-    // Demangle C++ names:
+    // Unmangle C++ names:
     char* realname = abi::__cxa_demangle(name, 0, 0, &status);
 
 #if defined(__x86_64__)
index 112e185..4f1020c 100644 (file)
@@ -158,6 +158,7 @@ void sg_platf_new_host(sg_platf_host_cbarg_t host)
     char *key,*data;
     xbt_dict_foreach(host->properties,cursor,key,data)
       h->setProperty(key,data);
+    xbt_dict_free(&host->properties);
   }
 
   if (host->pstate != 0)
index ed4530e..01e1109 100644 (file)
@@ -1,4 +1,5 @@
 addtogroup
+API
 argc
 argv
 atof
@@ -7,32 +8,40 @@ calloc
 cfg
 const
 cplusplus
+defgroup
 dict
 dicts
+dontinclude
 DPOR
 dst
 dynar
 dynars
+endverbatim
 FIXME
 Gbytes
 GPU
 hideinitializer
+hpp
 inlining
+ingroup
 int
 java
 Java
 JEDULE
 JNI
 kcachegrind
+KILLME
 lat
 LGPL
 lmm
 LTL
 malloc
 Mbytes
+mc
 Mflops
 MPI
 msg
+nullptr
 ok
 Paje
 param
@@ -53,6 +62,7 @@ SMPI
 smx
 src
 struct
+syscall
 tesh
 todo
 TODO