Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure all the source files have an reference of the copyright and of the licence
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 4 Jun 2008 15:16:26 +0000 (15:16 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 4 Jun 2008 15:16:26 +0000 (15:16 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5526 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/mallocator_private.h
src/xbt/xbt_context.c
src/xbt/xbt_context_java.c
src/xbt/xbt_context_private.h
src/xbt/xbt_context_sysv.c
src/xbt/xbt_context_thread.c
src/xbt/xbt_queue.c
src/xbt/xbt_sha.c
src/xbt/xbt_str.c

index 35b96d4..42a6d94 100644 (file)
@@ -1,5 +1,12 @@
-#ifndef _XBT_DICT_PRIVATE_H__
-#define _XBT_DICT_PRIVATE_H__
+/* mallocator - recycle objects to avoid malloc() / free()                  */
+
+/* Copyright (c) 2006 Christophe Thiery. All rights reserved.               */
+
+/* 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. */
+
+#ifndef _XBT_MALLOCATOR_PRIVATE_H__
+#define _XBT_MALLOCATOR_PRIVATE_H__
 
 typedef struct s_xbt_mallocator {
   int current_size;       /* number of objects currently stored */
@@ -10,4 +17,4 @@ typedef struct s_xbt_mallocator {
   void_f_pvoid_t reset_f; /* function to call when an object is released by the user */
 } s_xbt_mallocator_t;
 
-#endif
+#endif /* _XBT_MALLOCATOR_PRIVATE_H__ */
index a1b719e..03ff6d1 100644 (file)
@@ -1,7 +1,6 @@
 /* a fast and simple context switching library                              */
 
-/* Copyright (c) 2004 Arnaud Legrand.                                       */
-/* Copyright (c) 2004, 2005 Martin Quinson.                                 */
+/* Copyright (c) 2004-2008 the SimGrid team.                                */
 /* All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
index 7089548..bc5d92b 100644 (file)
@@ -1,3 +1,11 @@
+/* $Id$ */
+
+/* context_java - implementation of context switching for java threads */
+
+/* Copyright (c) 2007-2008 the SimGrid team. All right reserved */
+
+/* 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. */
 
 
 #include "xbt/function_types.h"
index d6ba31a..d0f35cf 100644 (file)
@@ -1,3 +1,11 @@
+/* a fast and simple context switching library                              */
+
+/* Copyright (c) 2004-2008 the SimGrid team.                                */
+/* All rights reserved.                                                     */
+
+/* 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. */
+
 #ifndef _XBT_CONTEXT_PRIVATE_H
 #define _XBT_CONTEXT_PRIVATE_H
 
index c3dfdd0..7a1bbbd 100644 (file)
@@ -1,3 +1,11 @@
+/* $Id$ */
+
+/* context_sysv - implementation of context switching with ucontextes from Sys V */
+
+/* Copyright (c) 2004-2008 the SimGrid team. All right reserved */
+
+/* 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. */
 
 #include "xbt/ex_interface.h"
 #include "xbt/xbt_context_private.h"
@@ -10,6 +18,8 @@
 #  include <valgrind/valgrind.h>
 #endif     /* HAVE_VALGRIND_VALGRIND_H */
 
+
+
 typedef struct s_xbt_ctx_sysv {
   XBT_CTX_BASE_T;
   ucontext_t uc;                    /* the thread that execute the code                             */
index b4a2e8b..8e54725 100644 (file)
@@ -1,3 +1,11 @@
+/* $Id$ */
+
+/* context_thread - implementation of context switching with native threads */
+
+/* Copyright (c) 2004-2008 the SimGrid team. All right reserved */
+
+/* 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. */
 
 #include "xbt/function_types.h"
 #include "xbt/xbt_context_private.h"
index e7358c8..39643f4 100644 (file)
@@ -11,7 +11,6 @@
 #include "xbt/misc.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
-//#include "xbt/ex.h"
 #include "xbt/dynar.h"
 
 #include "xbt/synchro.h"
index 20baf37..898c86a 100644 (file)
@@ -2,10 +2,13 @@
 /* xbt_sha.c - SHA1 hash function */
 
 /* Initial version part of iksemel (XML parser for Jabber)
- *   Copyright (C) 2000-2003 Gurer Ozen <madcat@e-kolay.net>
- *   This code is free software; you can redistribute it and/or
- *   modify it under the terms of GNU Lesser General Public License. */
-/* Adapted to fit into SimGrid by Martin Quinson. */
+ *   Copyright (C) 2000-2003 Gurer Ozen <madcat@e-kolay.net>. All right reserved. */
+
+/* Adapted to fit into SimGrid by Martin Quinson.
+     Copyright (c) 2008 Martin Quinson. All rights reserved. */
+
+/* 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. */
 
 #include "xbt/sysdep.h"
 #include "xbt/hash.h"
index 221f7f4..16a45ce 100644 (file)
@@ -1,3 +1,4 @@
+/* $Id$ */
 
 /* xbt_str.c - various helping functions to deal with strings               */