-#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 */
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__ */
/* 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
+/* $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"
+/* 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
+/* $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"
# 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 */
+/* $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"
#include "xbt/misc.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
-//#include "xbt/ex.h"
#include "xbt/dynar.h"
#include "xbt/synchro.h"
/* 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"
+/* $Id$ */
/* xbt_str.c - various helping functions to deal with strings */