git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7645
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
165 files changed:
/* ALNeM itself */
/* Copyright (c) 2003 Martin Quinson. All rights reserved. */
/* ALNeM itself */
/* Copyright (c) 2003 Martin Quinson. All rights reserved. */
/* ALNeM builder. Take an interference matrix as argument, */
/* and reconstruct the corresponding graph itself */
/* ALNeM builder. Take an interference matrix as argument, */
/* and reconstruct the corresponding graph itself */
/* bandwidth - bandwidth test demo of GRAS features */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* bandwidth - bandwidth test demo of GRAS features */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* saturate - link saturation demo of AMOK features */
/* Copyright (c) 2003-6 Martin Quinson. All rights reserved. */
/* saturate - link saturation demo of AMOK features */
/* Copyright (c) 2003-6 Martin Quinson. All rights reserved. */
/* saturate - link saturation demo of AMOK features */
/* Copyright (c) 2003-6 Martin Quinson. All rights reserved. */
/* saturate - link saturation demo of AMOK features */
/* Copyright (c) 2003-6 Martin Quinson. All rights reserved. */
/* ALL2ALL - all2all of GRAS features */
/* Copyright (c) 2006 Ahmed Harbaoui. All rights reserved. */
/* ALL2ALL - all2all of GRAS features */
/* Copyright (c) 2006 Ahmed Harbaoui. All rights reserved. */
/* chrono - demo of GRAS benchmarking features */
/* Copyright (c) 2005 Martin Quinson, Arnaud Legrand. All rights reserved. */
/* chrono - demo of GRAS benchmarking features */
/* Copyright (c) 2005 Martin Quinson, Arnaud Legrand. All rights reserved. */
/* chrono - demo of GRAS benchmarking features */
/* Copyright (c) 2005 Martin Quinson, Arnaud Legrand. All rights reserved. */
/* chrono - demo of GRAS benchmarking features */
/* Copyright (c) 2005 Martin Quinson, Arnaud Legrand. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* stoken - simple/static token ring */
/* Copyright (c) 2005 Alexandre Colucci. */
/* stoken - simple/static token ring */
/* Copyright (c) 2005 Alexandre Colucci. */
/* ping - ping/pong demo of GRAS features */
/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */
/* ping - ping/pong demo of GRAS features */
/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */
/* ping - ping/pong demo of GRAS features */
/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */
/* ping - ping/pong demo of GRAS features */
/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */
/* ping - ping/pong demo of GRAS features */
/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */
/* ping - ping/pong demo of GRAS features */
/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */
/* ping - ping/pong demo of GRAS features */
/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */
/* ping - ping/pong demo of GRAS features */
/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved. */
/* pmm - parallel matrix multiplication "double diffusion" */
/* Copyright (c) 2006-2008 The SimGrid team. All rights reserved. */
/* pmm - parallel matrix multiplication "double diffusion" */
/* Copyright (c) 2006-2008 The SimGrid team. All rights reserved. */
/* rpc - demo of the RPC features in GRAS */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* rpc - demo of the RPC features in GRAS */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* spawn - demo of the gras_actor_spawn function */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* spawn - demo of the gras_actor_spawn function */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* spawn - demo of the gras_agent_spawn function */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* spawn - demo of the gras_agent_spawn function */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* spawn - demo of the gras_agent_spawn function */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* spawn - demo of the gras_agent_spawn function */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* spawn - demo of the gras_agent_spawn function */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* spawn - demo of the gras_agent_spawn function */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* philosopher - classical dinning philosopher as a demo xbt syncro stuff */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* philosopher - classical dinning philosopher as a demo xbt syncro stuff */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* timer: repetitive and delayed actions */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* timer: repetitive and delayed actions */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* amok_bandwidth - Bandwidth test facilities */
/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */
/* amok_bandwidth - Bandwidth test facilities */
/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */
/* amok_base - things needed in amok, but too small to constitute a module */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* amok_base - things needed in amok, but too small to constitute a module */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* amok peer management - servers main loop and remote peer stopping */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* amok peer management - servers main loop and remote peer stopping */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* gras.h - Public interface to the GRAS */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* gras.h - Public interface to the GRAS */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* gras/datadesc.h - Describing the data you want to exchange */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* gras/datadesc.h - Describing the data you want to exchange */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* gras/emul.h - public interface to emulation support */
/* (specific parts for SG or RL) */
/* gras/emul.h - public interface to emulation support */
/* (specific parts for SG or RL) */
/* messaging - high level communication (send/receive messages) */
/* module's public interface exported to end user. */
/* messaging - high level communication (send/receive messages) */
/* module's public interface exported to end user. */
/* gras/process.h - Manipulating data related to an host. */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* gras/process.h - Manipulating data related to an host. */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* timer - delayed and repetitive tasks */
/* module's public interface exported to end user. */
/* timer - delayed and repetitive tasks */
/* module's public interface exported to end user. */
/* transport - low level communication (send/receive bunches of bytes) */
/* module's public interface exported to end user. */
/* transport - low level communication (send/receive bunches of bytes) */
/* module's public interface exported to end user. */
/* gras/virtu.h - public interface to virtualization (cross-OS portability) */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* gras/virtu.h - public interface to virtualization (cross-OS portability) */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* xbt.h - Public interface to the xbt (gras's toolbox) */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* xbt.h - Public interface to the xbt (gras's toolbox) */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* xbt/asserts.h -- assertion mecanism */
/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved. */
/* xbt/asserts.h -- assertion mecanism */
/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved. */
/* config - Dictionary where the type of each cell is provided. */
/* This is useful to build named structs, like option or property sets. */
/* config - Dictionary where the type of each cell is provided. */
/* This is useful to build named structs, like option or property sets. */
/* cunit - A little C Unit facility */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* cunit - A little C Unit facility */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* xbt/dict.h -- api to a generic dictionary */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* xbt/dict.h -- api to a generic dictionary */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* dynar - a generic dynamic array */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* dynar - a generic dynamic array */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* function_type.h - classical types for pointer to function */
/* Copyright (c) 2004-2006 Martin Quinson. */
/* function_type.h - classical types for pointer to function */
/* Copyright (c) 2004-2006 Martin Quinson. */
/* log - a generic logging facility in the spirit of log4j */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* log - a generic logging facility in the spirit of log4j */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* xbt_matrix_t management functions */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* xbt_matrix_t management functions */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* xbt.h - Public interface to the xbt (gras's toolbox) */
/* Copyright (c) 2004 Martin Quinson. */
/* xbt.h - Public interface to the xbt (gras's toolbox) */
/* Copyright (c) 2004 Martin Quinson. */
/* module - modularize the code */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* module - modularize the code */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* peer.h - peer (remote processes) management functions */
/* Copyright (c) 2006 Arnaud Legrand. */
/* peer.h - peer (remote processes) management functions */
/* Copyright (c) 2006 Arnaud Legrand. */
/* A (synchronized) message queue. */
/* Popping an empty queue is blocking, as well as pushing a full one */
/* A (synchronized) message queue. */
/* Popping an empty queue is blocking, as well as pushing a full one */
/* xbt/set.h -- api to a generic dictionary */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* xbt/set.h -- api to a generic dictionary */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* str.h - XBT string related functions. */
/* Copyright (c) 2004-7, Martin Quinson, Arnaud Legrand and Cherier Malek. */
/* str.h - XBT string related functions. */
/* Copyright (c) 2004-7, Martin Quinson, Arnaud Legrand and Cherier Malek. */
/* xbt/synchro.h -- Synchronization tools */
/* Usable in simulator, (or in real life when mixing with GRAS) */
/* xbt/synchro.h -- Synchronization tools */
/* Usable in simulator, (or in real life when mixing with GRAS) */
/* xbt/sysdep.h -- all system dependency */
/* no system header should be loaded out of this file so that we have only */
/* one file to check when porting to another OS */
/* xbt/sysdep.h -- all system dependency */
/* no system header should be loaded out of this file so that we have only */
/* one file to check when porting to another OS */
/* virtu - virtualization layer for XBT to choose between GRAS and MSG implementation */
/* Copyright (c) 2007 Martin Quinson */
/* virtu - virtualization layer for XBT to choose between GRAS and MSG implementation */
/* Copyright (c) 2007 Martin Quinson */
/* amok_bandwidth - Bandwidth tests facilities */
/* Copyright (c) 2003-6 Martin Quinson. */
/* amok_bandwidth - Bandwidth tests facilities */
/* Copyright (c) 2003-6 Martin Quinson. */
/* bandwidth - network bandwidth tests facilities */
/* module's private interface masked even to other parts of AMOK. */
/* bandwidth - network bandwidth tests facilities */
/* module's private interface masked even to other parts of AMOK. */
/* amok_saturate - Link saturating facilities (for ALNeM's BW testing) */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* amok_saturate - Link saturating facilities (for ALNeM's BW testing) */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* amok peer management - servers main loop and remote peer stopping */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* amok peer management - servers main loop and remote peer stopping */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* base - several addons to do specific stuff not in GRAS itself */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* base - several addons to do specific stuff not in GRAS itself */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* amok modinter - interface to AMOK modules initialization and such */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* amok modinter - interface to AMOK modules initialization and such */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* cbps - persistant states for callbacks */
/* Copyright (c) 2003 Olivier Aumage. */
/* cbps - persistant states for callbacks */
/* Copyright (c) 2003 Olivier Aumage. */
/* datadesc - data description in order to send/recv it in GRAS */
/* Copyright (c) 2003 Olivier Aumage. */
/* datadesc - data description in order to send/recv it in GRAS */
/* Copyright (c) 2003 Olivier Aumage. */
/* datadesc - describing the data to exchange */
/* module's public interface exported within GRAS, but not to end user. */
/* datadesc - describing the data to exchange */
/* module's public interface exported within GRAS, but not to end user. */
/* datadesc - describing the data to exchange */
/* module's private interface masked even to other parts of GRAS. */
/* datadesc - describing the data to exchange */
/* module's private interface masked even to other parts of GRAS. */
/* ddt_remote - Stuff needed to get datadescs about remote hosts */
/* Copyright (c) 2003 Olivier Aumage. */
/* ddt_remote - Stuff needed to get datadescs about remote hosts */
/* Copyright (c) 2003 Olivier Aumage. */
/* ddt_new - creation/deletion of datatypes structs (private to this module)*/
/* Copyright (c) 2003-2009 The SimGrid Team. All rights reserved. */
/* ddt_new - creation/deletion of datatypes structs (private to this module)*/
/* Copyright (c) 2003-2009 The SimGrid Team. All rights reserved. */
/* ddt_exchange - send/recv data described */
/* Copyright (c) 2003-2009 The SimGrid Team. All rights reserved. */
/* ddt_exchange - send/recv data described */
/* Copyright (c) 2003-2009 The SimGrid Team. All rights reserved. */
/* DataDesc/ddt_parse.c -- automatic parsing of data structures */
/* Copyright (c) 2003 Arnaud Legrand. */
/* DataDesc/ddt_parse.c -- automatic parsing of data structures */
/* Copyright (c) 2003 Arnaud Legrand. */
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *gras_ddt_parse_text;
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *gras_ddt_parse_text;
/* DataDesc/ddt_parse -- automatic parsing of data structures */
/* Copyright (c) 2004 Arnaud Legrand, Martin Quinson. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
/* DataDesc/ddt_parse -- automatic parsing of data structures */
/* Copyright (c) 2004 Arnaud Legrand, Martin Quinson. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
/* ddt_parse.h -- automatic parsing of data structures */
/* Copyright (c) 2003 Arnaud Legrand. */
/* ddt_parse.h -- automatic parsing of data structures */
/* Copyright (c) 2003 Arnaud Legrand. */
/* gras message exchanges */
/* Copyright (c) 2003-2009. The SimGrid Team. All rights reserved. */
/* gras message exchanges */
/* Copyright (c) 2003-2009. The SimGrid Team. All rights reserved. */
/* Thread in charge of listening the network and queuing incoming messages */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* Thread in charge of listening the network and queuing incoming messages */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* gras message types handling */
/* Copyright (c) 2003, 2004, 2005, 2006, 2007 Martin Quinson. */
/* gras message types handling */
/* Copyright (c) 2003, 2004, 2005, 2006, 2007 Martin Quinson. */
/* gras message types and callback registering and retrieving */
/* Copyright (c) 2003, 2004, 2005, 2006, 2007 Martin Quinson. */
/* gras message types and callback registering and retrieving */
/* Copyright (c) 2003, 2004, 2005, 2006, 2007 Martin Quinson. */
/* messaging - high level communication (send/receive messages) */
/* module's public interface exported within GRAS, but not to end user. */
/* messaging - high level communication (send/receive messages) */
/* module's public interface exported within GRAS, but not to end user. */
/* messaging - high level communication (send/receive messages) */
/* module's private interface masked even to other parts of GRAS. */
/* messaging - high level communication (send/receive messages) */
/* module's private interface masked even to other parts of GRAS. */
/* messaging - Function related to messaging code specific to RL */
/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */
/* messaging - Function related to messaging code specific to RL */
/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */
/* rpc - RPC implementation on top of GRAS messages */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* rpc - RPC implementation on top of GRAS messages */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* messaging - Function related to messaging code specific to SG */
/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */
/* messaging - Function related to messaging code specific to SG */
/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */
/* timer - Delayed and repetitive actions */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* timer - Delayed and repetitive actions */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* rl_transport - RL specific functions for transport */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* rl_transport - RL specific functions for transport */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* sg_transport - SG specific functions for transport */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* sg_transport - SG specific functions for transport */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* transport - low level communication */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* transport - low level communication */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* transport - low level communication (send/receive bunches of bytes) */
/* module's public interface exported within GRAS, but not to end user. */
/* transport - low level communication (send/receive bunches of bytes) */
/* module's public interface exported within GRAS, but not to end user. */
/* File transport - send/receive a bunch of bytes from a file */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* File transport - send/receive a bunch of bytes from a file */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* file trp (transport) - send/receive a bunch of bytes in SG realm */
/* Note that this is only used to debug other parts of GRAS since message */
/* file trp (transport) - send/receive a bunch of bytes in SG realm */
/* Note that this is only used to debug other parts of GRAS since message */
/* buf trp (transport) - buffered transport using the TCP one */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* buf trp (transport) - buffered transport using the TCP one */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* transport - low level communication (send/receive bunches of bytes) */
/* module's private interface masked even to other parts of GRAS. */
/* transport - low level communication (send/receive bunches of bytes) */
/* module's private interface masked even to other parts of GRAS. */
/* module - module handling, along with module dependencies and local state */
/* Copyright (C) 2006 Martin Quinson. All rights reserved. */
/* module - module handling, along with module dependencies and local state */
/* Copyright (C) 2006 Martin Quinson. All rights reserved. */
/* process - GRAS process handling (common code for RL and SG) */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* process - GRAS process handling (common code for RL and SG) */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* rl_dns - name resolution (real life) */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* rl_dns - name resolution (real life) */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* rl_emul - Emulation support (real life) */
/* Copyright (c) 2003-5 Arnaud Legrand, Martin Quinson. All rights reserved.*/
/* rl_emul - Emulation support (real life) */
/* Copyright (c) 2003-5 Arnaud Legrand, Martin Quinson. All rights reserved.*/
/* process_rl - GRAS process handling on real life */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* process_rl - GRAS process handling on real life */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* sg_dns - name resolution (simulator) */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* sg_dns - name resolution (simulator) */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* sg_emul - Emulation support (simulation) */
/* Copyright (c) 2003-5 Arnaud Legrand, Martin Quinson. All rights reserved.*/
/* sg_emul - Emulation support (simulation) */
/* Copyright (c) 2003-5 Arnaud Legrand, Martin Quinson. All rights reserved.*/
/* process_sg - GRAS process handling on simulator */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* process_sg - GRAS process handling on simulator */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* virtu[alization] - speciafic parts for each OS and for SG */
/* module's public interface exported within GRAS, but not to end user. */
/* virtu[alization] - speciafic parts for each OS and for SG */
/* module's public interface exported within GRAS, but not to end user. */
/* virtu[alization] - speciafic parts for each OS and for SG */
/* module's private interface. */
/* virtu[alization] - speciafic parts for each OS and for SG */
/* module's private interface. */
/* virtu_rl - specific GRAS implementation for real life */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* virtu_rl - specific GRAS implementation for real life */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* virtu_sg - specific GRAS implementation for simulator */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* virtu_sg - specific GRAS implementation for simulator */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* gras.c -- generic functions not fitting anywhere else */
/* Copyright (c) 2003, 2004 Martin Quinson. */
/* gras.c -- generic functions not fitting anywhere else */
/* Copyright (c) 2003, 2004 Martin Quinson. */
/* rl_stubs.c -- empty body of functions used in SG, but harmful in RL */
/* Copyright (c) 2007 Martin Quinson. */
/* rl_stubs.c -- empty body of functions used in SG, but harmful in RL */
/* Copyright (c) 2007 Martin Quinson. */
/* gras_modinter.h - How to init/exit the GRAS modules */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* gras_modinter.h - How to init/exit the GRAS modules */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* xbt/xbt_thread.h -- Thread portability layer */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* xbt/xbt_thread.h -- Thread portability layer */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* xbt/xbt_portability.h -- all system dependency */
/* Private portability layer */
/* xbt/xbt_portability.h -- all system dependency */
/* Private portability layer */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* Copyright (c) 2002-2007 Arnaud Legrand. */
/* Copyright (c) 2007 Bruno Donassolo. */
/* All rights reserved. */
/* portable -- header loading to write portable code */
/* loads much more stuff than sysdep.h since the latter is in public interface*/
/* portable -- header loading to write portable code */
/* loads much more stuff than sysdep.h since the latter is in public interface*/
/* context_thread - implementation of context switching with native threads */
/* Copyright (c) 2004-2008 the SimGrid team. All right reserved */
/* context_thread - implementation of context switching with native threads */
/* Copyright (c) 2004-2008 the SimGrid team. All right reserved */
-//* $Id$ */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved. */
+//* Copyright (c) 2002,2003,2004 Arnaud Legrand. 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. */
/* 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. */
/* xbt/asserts.h -- assertion mechanism */
/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved. */
/* xbt/asserts.h -- assertion mechanism */
/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved. */
/* backtrace_windows - backtrace displaying on windows platform */
/* This file is included by ex.c on need (windows x86) */
/* backtrace_windows - backtrace displaying on windows platform */
/* This file is included by ex.c on need (windows x86) */
/* config - Dictionnary where the type of each variable is provided. */
/* This is useful to build named structs, like option or property sets. */
/* config - Dictionnary where the type of each variable is provided. */
/* This is useful to build named structs, like option or property sets. */
/* cunit - A little C Unit facility */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* cunit - A little C Unit facility */
/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
/* dict_cursor - iterators over dictionnaries */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* dict_cursor - iterators over dictionnaries */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* dict - a generic dictionary, variation over the B-tree concept */
/* Copyright (c) 2003-2009 The SimGrid team. All rights reserved. */
/* dict - a generic dictionary, variation over the B-tree concept */
/* Copyright (c) 2003-2009 The SimGrid team. All rights reserved. */
/* dict_multi - dictionnaries of dictionnaries of ... of data */
/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */
/* dict_multi - dictionnaries of dictionnaries of ... of data */
/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved. */
/* dict_elm - elements of generic dictionnaries */
/* This file is not to be loaded from anywhere but dict.c */
/* dict_elm - elements of generic dictionnaries */
/* This file is not to be loaded from anywhere but dict.c */
/* a generic DYNamic ARray implementation. */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* a generic DYNamic ARray implementation. */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* error - Error handling functions */
/* Authors: Martin Quinson */
/* error - Error handling functions */
/* Authors: Martin Quinson */
/* ex -- exception handling */
/* This file is to loaded in any location defining exception handlers */
/* (such as context.c) or in gras transport layer, to exchange them. */
/* ex -- exception handling */
/* This file is to loaded in any location defining exception handlers */
/* (such as context.c) or in gras transport layer, to exchange them. */
/* log - a generic logging facility in the spirit of log4j */
/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved. */
/* log - a generic logging facility in the spirit of log4j */
/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved. */
/* set - data container consisting in dict+dynar */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* set - data container consisting in dict+dynar */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* file_appender - a dumb log appender which simply prints to stdout */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* file_appender - a dumb log appender which simply prints to stdout */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* layout_simple - a dumb log layout */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* layout_simple - a dumb log layout */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* layout_simple - a dumb log layout */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* layout_simple - a dumb log layout */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* module handling */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* module handling */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* xbt_matrix_t management functions */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* xbt_matrix_t management functions */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* xbt_os_thread -- portability layer over the pthread API */
/* Used in RL to get win/lin portability, and in SG when CONTEXT_THREAD */
/* in SG, when using CONTEXT_UCONTEXT, xbt_os_thread_stub is used instead */
/* xbt_os_thread -- portability layer over the pthread API */
/* Used in RL to get win/lin portability, and in SG when CONTEXT_THREAD */
/* in SG, when using CONTEXT_UCONTEXT, xbt_os_thread_stub is used instead */
/* xbt_os_time.c -- portable interface to time-related functions */
/* Copyright (c) 2004-2008 The SimGrid team. All rights reserved. */
/* xbt_os_time.c -- portable interface to time-related functions */
/* Copyright (c) 2004-2008 The SimGrid team. All rights reserved. */
/* xbt_peer_t management functions */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* xbt_peer_t management functions */
/* Copyright (c) 2006 Martin Quinson. All rights reserved. */
/* A (synchronized) message queue. */
/* Popping an empty queue is blocking, as well as pushing a full one */
/* A (synchronized) message queue. */
/* Popping an empty queue is blocking, as well as pushing a full one */
/* xbt_synchro -- Synchronization virtualized depending on whether we are */
/* in simulation or real life (act on simulated processes) */
/* xbt_synchro -- Synchronization virtualized depending on whether we are */
/* in simulation or real life (act on simulated processes) */
/* time - time related syscal wrappers */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* time - time related syscal wrappers */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* xbt_sg_stubs -- empty functions sometimes used in SG (never in RL) */
/* This is always part of SG, never of RL. Content: */
/* xbt_sg_stubs -- empty functions sometimes used in SG (never in RL) */
/* This is always part of SG, never of RL. Content: */
/* xbt_synchro -- Synchronization virtualized depending on whether we are */
/* in simulation or real life (act on simulated processes) */
/* xbt_synchro -- Synchronization virtualized depending on whether we are */
/* in simulation or real life (act on simulated processes) */
/* time - time related syscal wrappers */
/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved. */
/* time - time related syscal wrappers */
/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved. */
/* xbt_sha.c - SHA1 hash function */
/* Initial version part of iksemel (XML parser for Jabber)
/* xbt_sha.c - SHA1 hash function */
/* Initial version part of iksemel (XML parser for Jabber)
/* xbt_str.c - various helping functions to deal with strings */
/* Copyright (C) 2005-2008 The SimGrid Team. */
/* xbt_str.c - various helping functions to deal with strings */
/* Copyright (C) 2005-2008 The SimGrid Team. */
/* virtu - virtualization layer for XBT to choose between GRAS and MSG implementation */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* virtu - virtualization layer for XBT to choose between GRAS and MSG implementation */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* xbt_modinter - How to init/exit the XBT modules */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* xbt_modinter - How to init/exit the XBT modules */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* datadesc: test of data description (using file transport). */
/* Copyright (c) 2004-2007 Martin Quinson. All rights reserved. */
/* datadesc: test of data description (using file transport). */
/* Copyright (c) 2004-2007 Martin Quinson. All rights reserved. */
/* log_large_test -- log a very large string to test the dynamic variants */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* log_large_test -- log a very large string to test the dynamic variants */
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* synchro_crashtest -- tries to crash the logging mecanism by doing // logs*/
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* synchro_crashtest -- tries to crash the logging mecanism by doing // logs*/
/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
/* A few basic tests for the graphxml library */
/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand. All rights reserved.*/
/* A few basic tests for the graphxml library */
/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand. All rights reserved.*/
/* A few tests for the xbt_heap module */
/* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */
/* A few tests for the xbt_heap module */
/* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */
/* log_usage - A test of normal usage of the log facilities */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* log_usage - A test of normal usage of the log facilities */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* run_context -- stuff in which TESH runs a command */
/* Copyright (c) 2007 Martin Quinson. */
/* run_context -- stuff in which TESH runs a command */
/* Copyright (c) 2007 Martin Quinson. */
/* run_context -- stuff in which TESH runs a command */
/* Copyright (c) 2007 Martin Quinson. */
/* run_context -- stuff in which TESH runs a command */
/* Copyright (c) 2007 Martin Quinson. */
/* signal -- what TESH needs to know about signals */
/* Copyright (c) 2007 Martin Quinson. */
/* signal -- what TESH needs to know about signals */
/* Copyright (c) 2007 Martin Quinson. */
/* TESH (Test Shell) -- mini shell specialized in running test units */
/* Copyright (c) 2007 Martin Quinson. */
/* TESH (Test Shell) -- mini shell specialized in running test units */
/* Copyright (c) 2007 Martin Quinson. */
/* TESH (Test Shell) -- mini shell specialized in running test units */
/* Copyright (c) 2007-2008, Da SimGrid team. */
/* TESH (Test Shell) -- mini shell specialized in running test units */
/* Copyright (c) 2007-2008, Da SimGrid team. */
/* datadesc: test of data description (using file transport). */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* datadesc: test of data description (using file transport). */
/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
/* log_usage - A test of normal usage of the log facilities */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* log_usage - A test of normal usage of the log facilities */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* A few basic tests for the graphxml library */
/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand. All rights reserved. */
/* A few basic tests for the graphxml library */
/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand. All rights reserved. */
/*#include "..\..\..\..\..\..\include\xbt\dict.h"*/
/*#include "..\..\..\..\..\..\include\xbt\dict.h"*/
/* A few tests for the xbt_heap module */
/* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */
/* A few tests for the xbt_heap module */
/* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */
/* log_usage - A test of normal usage of the log facilities */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
/* log_usage - A test of normal usage of the log facilities */
/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */