From fb27af7637ca2d4844c67c20fbe026af6af8152c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 15 Nov 1999 16:39:01 +0000 Subject: Split ITRON semaphore manager into multiple files. --- c/src/exec/itron/src/wai_sem.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 c/src/exec/itron/src/wai_sem.c (limited to 'c/src/exec/itron/src/wai_sem.c') diff --git a/c/src/exec/itron/src/wai_sem.c b/c/src/exec/itron/src/wai_sem.c new file mode 100644 index 0000000000..f9e0c4d712 --- /dev/null +++ b/c/src/exec/itron/src/wai_sem.c @@ -0,0 +1,26 @@ +/* + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#include + +#include +#include +#include + +/* + * wai_sem - Wait on Semaphore + * + * This function implements the ITRON 3.0 wai_sem() service. + */ + +ER wai_sem( + ID semid +) +{ + return twai_sem( semid, TMO_FEVR ); +} -- cgit v1.2.3