*
* @author Daniel Sangorrin <daniel.sangorrin@unican.es>
*
+ * @license
+ *
+ * -----------------------------------------------------------------------
+ * Copyright (C) 2006 - 2008 FRESCOR consortium partners:
+ *
+ * Universidad de Cantabria, SPAIN
+ * University of York, UK
+ * Scuola Superiore Sant'Anna, ITALY
+ * Kaiserslautern University, GERMANY
+ * Univ. Politécnica Valencia, SPAIN
+ * Czech Technical University in Prague, CZECH REPUBLIC
+ * ENEA SWEDEN
+ * Thales Communication S.A. FRANCE
+ * Visual Tools S.A. SPAIN
+ * Rapita Systems Ltd UK
+ * Evidence ITALY
+ *
+ * See http://www.frescor.org for a link to partners' websites
+ *
+ * FRESCOR project (FP6/2005/IST/5-034026) is funded
+ * in part by the European Union Sixth Framework Programme
+ * The European Union is not liable of any use that may be
+ * made of this code.
+ *
+ * This file is part of FRESCAN
+ *
+ * FRESCAN is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * FRESCAN is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * distributed with FRESCAN; see file COPYING. If not, write to the
+ * Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * As a special exception, including FRESCAN header files in a file,
+ * instantiating FRESCAN generics or templates, or linking other files
+ * with FRESCAN objects to produce an executable application, does not
+ * by itself cause the resulting executable application to be covered
+ * by the GNU General Public License. This exception does not
+ * however invalidate any other reasons why the executable file might be
+ * covered by the GNU Public License.
+ * -----------------------------------------------------------------------
+ *
*/
-#ifndef _FRESCAN_NEGOTIATION_THREADS_H_
-#define _FRESCAN_NEGOTIATION_THREADS_H_
+#ifndef _FRESCAN_BWRES_THREADS_H_
+#define _FRESCAN_BWRES_THREADS_H_
#include "frescan.h"
/**
- * frescan_master_neg_thread_create()
- *
- * This call creates the thread in charge of LOCAL negotiations at the
- * MASTER node, so in the rest of nodes it doesnt have to be called at
- * initialization. This thread will await in a local request queue for
- * LOCAL negotiation requests from threads in the same CPU.
- * In the case of SLAVE nodes, the negotiation requests are simply performed
- * by sending an appropiate message to the MASTER node and then awaiting
- * in a reply object until an acceptor thread signals it.
+ * frescan_manager_thread_create()
+ *
+ * This call creates the manager thread at each node which will be waiting
+ * in a request queue for LOCAL or EXTERNAL requests.
*/
-extern int frescan_master_neg_thread_create(frescan_network_t net);
+extern int frescan_manager_thread_create(frescan_network_t net);
/**
* frescan_acceptor_thread_create()
*
- * This call is called in every node (including the MASTER node) conforming
- * a set of threads, one at each node, that awaits negotiation messages
- * from a receive endpoint and perform the corresponding operations.
+ * This call creates the acceptor thread which will be waiting negotiation
+ * messages from the network and converting them into requests.
*/
extern int frescan_acceptor_thread_create(frescan_network_t net);
-#endif // _FRESCAN_NEGOTIATION_THREADS_H_
+#endif // _FRESCAN_BWRES_THREADS_H_