]> rtime.felk.cvut.cz Git - frescor/fna.git/blob - src_frescan/frescan_bwres_threads.h
renamings... redo the request and messages part... also now there will be two threads...
[frescor/fna.git] / src_frescan / frescan_bwres_threads.h
1 /*!
2  * @file frescan_bwres_threads.h
3  *
4  * @brief FRESCAN bandwidth reservation layer: negotiation threads
5  *
6  * This module contains the acceptor threads and the master thread for local
7  * negotiations, with functions to create them.
8  *
9  * @version 0.01
10  *
11  * @date 2-Apr-2008
12  *
13  * @author Daniel Sangorrin <daniel.sangorrin@unican.es>
14  *
15  */
16
17 #ifndef _FRESCAN_BWRES_THREADS_H_
18 #define _FRESCAN_BWRES_THREADS_H_
19
20 #include "frescan.h"
21
22 /**
23  * frescan_manager_thread_create()
24  *
25  * This call creates the manager thread at each node which will be waiting
26  * in a request queue for LOCAL or EXTERNAL requests.
27  */
28
29 extern int frescan_manager_thread_create(frescan_network_t net);
30
31 /**
32  * frescan_acceptor_thread_create()
33  *
34  * This call creates the acceptor thread which will be waiting negotiation
35  * messages from the network and converting them into requests.
36  */
37
38 extern int frescan_acceptor_thread_create(frescan_network_t net);
39
40 #endif // _FRESCAN_BWRES_THREADS_H_