Xenomai API  2.6.5
mutex.h File Reference

This file is part of the Xenomai project. More...

Include dependency graph for mutex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rt_mutex_info
 Structure containing mutex information useful to users. More...
 

Typedefs

typedef struct rt_mutex_info RT_MUTEX_INFO
 Structure containing mutex information useful to users. More...
 

Functions

int rt_mutex_bind (RT_MUTEX *mutex, const char *name, RTIME timeout)
 Bind to a mutex. More...
 
static int rt_mutex_unbind (RT_MUTEX *mutex)
 Unbind from a mutex. More...
 
int rt_mutex_create (RT_MUTEX *mutex, const char *name)
 Create a mutex. More...
 
int rt_mutex_delete (RT_MUTEX *mutex)
 Delete a mutex. More...
 
int rt_mutex_acquire (RT_MUTEX *mutex, RTIME timeout)
 Acquire a mutex. More...
 
int rt_mutex_acquire_until (RT_MUTEX *mutex, RTIME timeout)
 Acquire a mutex (with absolute timeout date). More...
 
int rt_mutex_release (RT_MUTEX *mutex)
 Unlock mutex. More...
 
int rt_mutex_inquire (RT_MUTEX *mutex, RT_MUTEX_INFO *info)
 Inquire about a mutex. More...
 

Detailed Description

This file is part of the Xenomai project.

Note
Copyright (C) 2004 Philippe Gerum rpm@x.nosp@m.enom.nosp@m.ai.or.nosp@m.g

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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Typedef Documentation

typedef struct rt_mutex_info RT_MUTEX_INFO

Structure containing mutex information useful to users.

See also
rt_mutex_inquire()