Xenomai API  2.6.5
sem.h File Reference

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

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

Go to the source code of this file.

Functions

int rt_sem_bind (RT_SEM *sem, const char *name, RTIME timeout)
 Bind to a semaphore. More...
 
static int rt_sem_unbind (RT_SEM *sem)
 Unbind from a semaphore. More...
 
int rt_sem_create (RT_SEM *sem, const char *name, unsigned long icount, int mode)
 Create a counting semaphore. More...
 
int rt_sem_delete (RT_SEM *sem)
 Delete a semaphore. More...
 
int rt_sem_p (RT_SEM *sem, RTIME timeout)
 Pend on a semaphore. More...
 
int rt_sem_p_until (RT_SEM *sem, RTIME timeout)
 Pend on a semaphore (with absolute timeout date). More...
 
int rt_sem_v (RT_SEM *sem)
 Signal a semaphore. More...
 
int rt_sem_broadcast (RT_SEM *sem)
 Broadcast a semaphore. More...
 
int rt_sem_inquire (RT_SEM *sem, RT_SEM_INFO *info)
 Inquire about a semaphore. 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.