iCub-main
embObjLibConf.h
Go to the documentation of this file.
1 // -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2 
3 /* Copyright (C) 2013 iCub Facility, Istituto Italiano di Tecnologia
4  * Author: Marco Accame
5  * email: marco.accame@iit.it
6  * Permission is granted to copy, distribute, and/or modify this program
7  * under the terms of the GNU General Public License, version 2 or any
8  * later version published by the Free Software Foundation.
9  *
10  * A copy of the license can be found at
11  * http://www.robotcub.org/icub/license/gpl.txt
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16  * Public License for more details
17  */
18 
19 //
20 // $Id: embObjLibConfig.h,v 1.5 2008/06/25 22:33:53 nat Exp $
21 //
22 //
23 
24 #ifndef __embObjLibConfig_h_
25 #define __embObjLibConfig_h_
26 
27 // always use that. as an alternative one could use ETHMANAGER_LOCK_WITH_RECURSIVE_MUTEX
28 #define ETHMANAGER_LOCK_WITH_SEMAPHORE_MUTEX
29 
30 // one could undef this and use ... HOSTTRANSCEIVER_LOCK_WITH_SEMAPHORE_MUTEX
31 #define HOSTTRANSCEIVER_LOCK_ALL_EXTERNALLY_WITH_SEMAPHORE_MUTEX
32 #undef HOSTTRANSCEIVER_LOCK_EMBOBJTRANSCEIVER_INTERNALLY
33 #undef HOSTTRANSCEIVER_LOCK_EMBOBJNETVARS_INTERNALLY_BY_DEVICE
34 #undef HOSTTRANSCEIVER_LOCK_EMBOBJNETVARS_INTERNALLY_BY_ENDPOINT
35 #undef HOSTTRANSCEIVER_LOCK_EMBOBJNETVARS_INTERNALLY_BY_NETVAR
36 
37 #endif