source: rtems/cpukit/itron/src/preq_sem.c @ 4bf1801

4.104.114.84.95
Last change on this file since 4bf1801 was 9d9a3dd, checked in by Jennifer Averett <Jennifer.Averett@…>, on 11/17/99 at 16:47:58

+ Updated copyright information.

  • Property mode set to 100644
File size: 568 bytes
Line 
1/*
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 *  $Id$
10 */
11
12#include <itron.h>
13
14#include <rtems/itron/semaphore.h>
15#include <rtems/itron/task.h>
16#include <rtems/score/tod.h>
17
18/*
19 *  preq_sem - Poll and Request Semaphore
20 *
21 *  This function implements the ITRON 3.0 preq_sem() service.
22 */
23
24ER preq_sem(
25  ID semid
26)
27{
28  return twai_sem( semid, TMO_POL );
29}
Note: See TracBrowser for help on using the repository browser.