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.
Include dependency graph for rtai_sem.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | rt_sem_init(name, value) rt_typed_sem_init(name, value, CNT_SEM) |
#define | rt_cond_init(name) rt_typed_sem_init(name, 0, BIN_SEM) |
Functions | |
int | rt_sem_delete (SEM *sem) |
Delete a semaphore. | |
int | rt_named_sem_delete (SEM *sem) |
Delete a semaphore initialized in named mode. | |
int | rt_sem_signal (SEM *sem) |
Signaling a semaphore. | |
int | rt_sem_broadcast (SEM *sem) |
Signaling a semaphore. | |
int | rt_sem_wait (SEM *sem) |
Take a semaphore. | |
int | rt_sem_wait_if (SEM *sem) |
Take a semaphore, only if the calling task is not blocked. | |
int | rt_sem_wait_until (SEM *sem, RTIME time) |
Wait a semaphore with timeout. | |
int | rt_sem_wait_timed (SEM *sem, RTIME delay) |
Wait a semaphore with timeout. | |
int | rt_sem_wait_barrier (SEM *sem) |
Wait on a semaphore barrier. | |
int | rt_cond_signal (CND *cnd) |
Wait for a signal to a conditional variable. | |
int | rt_cond_wait (CND *cnd, SEM *mutex) |
Wait for a signal to a conditional variable. | |
int | rt_cond_wait_until (CND *cnd, SEM *mutex, RTIME time) |
Wait a semaphore with timeout. | |
int | rt_cond_wait_timed (CND *cnd, SEM *mutex, RTIME delay) |
Wait a semaphore with timeout. |