source: rtems/c/src/exec/itron/src/preq_sem.c @ fb27af76

4.104.114.84.95
Last change on this file since fb27af76 was fb27af76, checked in by Joel Sherrill <joel.sherrill@…>, on 11/15/99 at 16:39:01

Split ITRON semaphore manager into multiple files.

  • Property mode set to 100644
File size: 483 bytes
Line 
1/*
2 *  The license and distribution terms for this file may be
3 *  found in the file LICENSE in this distribution or at
4 *  http://www.OARcorp.com/rtems/license.html.
5 *
6 *  $Id$
7 */
8
9#include <itron.h>
10
11#include <rtems/itron/semaphore.h>
12#include <rtems/itron/task.h>
13#include <rtems/score/tod.h>
14
15/*
16 *  preq_sem - Poll and Request Semaphore
17 *
18 *  This function implements the ITRON 3.0 preq_sem() service.
19 */
20
21ER preq_sem(
22  ID semid
23)
24{
25  return twai_sem( semid, TMO_POL );
26}
Note: See TracBrowser for help on using the repository browser.