OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [itron/] [src/] [wai_sem.c] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
2
 *  COPYRIGHT (c) 1989-1999.
3
 *  On-Line Applications Research Corporation (OAR).
4
 *
5
 *  The license and distribution terms for this file may be
6
 *  found in the file LICENSE in this distribution or at
7
 *  http://www.OARcorp.com/rtems/license.html.
8
 *
9
 *  wai_sem.c,v 1.3 2001/01/24 14:15:05 joel Exp
10
 */
11
 
12
#if HAVE_CONFIG_H
13
#include "config.h"
14
#endif
15
 
16
#include <itron.h>
17
 
18
#include <rtems/itron/semaphore.h>
19
#include <rtems/itron/task.h>
20
#include <rtems/score/tod.h>
21
 
22
/*
23
 *  wai_sem - Wait on Semaphore
24
 *
25
 *  This function implements the ITRON 3.0 wai_sem() service.
26
 */
27
 
28
ER wai_sem(
29
  ID semid
30
)
31
{
32
  return twai_sem( semid, TMO_FEVR );
33
}

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.