PolarSSL v1.3.8
Macros | Variables
threading.h File Reference

Threading abstraction layer. More...

#include "config.h"
#include <stdlib.h>
Include dependency graph for threading.h:

Go to the source code of this file.

Macros

#define POLARSSL_ERR_THREADING_FEATURE_UNAVAILABLE   -0x001A
 The selected feature is not available. More...
 
#define POLARSSL_ERR_THREADING_BAD_INPUT_DATA   -0x001C
 Bad input parameters to function. More...
 
#define POLARSSL_ERR_THREADING_MUTEX_ERROR   -0x001E
 Locking / unlocking / free failed with error code. More...
 

Variables

int(* polarssl_mutex_init )(threading_mutex_t *mutex)
 
int(* polarssl_mutex_free )(threading_mutex_t *mutex)
 
int(* polarssl_mutex_lock )(threading_mutex_t *mutex)
 
int(* polarssl_mutex_unlock )(threading_mutex_t *mutex)
 

Detailed Description

Threading abstraction layer.

Copyright (C) 2006-2013, Brainspark B.V.

This file is part of PolarSSL (http://www.polarssl.org) Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>

All rights reserved.

This program 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 of the License, or (at your option) any later version.

This program 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 along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Definition in file threading.h.

Macro Definition Documentation

#define POLARSSL_ERR_THREADING_BAD_INPUT_DATA   -0x001C

Bad input parameters to function.

Definition at line 43 of file threading.h.

#define POLARSSL_ERR_THREADING_FEATURE_UNAVAILABLE   -0x001A

The selected feature is not available.

Definition at line 42 of file threading.h.

#define POLARSSL_ERR_THREADING_MUTEX_ERROR   -0x001E

Locking / unlocking / free failed with error code.

Definition at line 44 of file threading.h.

Variable Documentation

int(* polarssl_mutex_free)(threading_mutex_t *mutex)
int(* polarssl_mutex_init)(threading_mutex_t *mutex)
int(* polarssl_mutex_lock)(threading_mutex_t *mutex)
int(* polarssl_mutex_unlock)(threading_mutex_t *mutex)