X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/fna.git/blobdiff_plain/092fd6e4c2a533a301527d9f6aff037d9550d512..5ac29d6d0804a77ef8f795b2006723b6b71d3566:/src_frescan/frescan_bwres_threads.h diff --git a/src_frescan/frescan_bwres_threads.h b/src_frescan/frescan_bwres_threads.h index c3e78de..565314d 100644 --- a/src_frescan/frescan_bwres_threads.h +++ b/src_frescan/frescan_bwres_threads.h @@ -14,33 +14,27 @@ * */ -#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_