From e7264f070e6126bd1a409e82b49f854a8bcb2939 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 Oct 1999 16:44:24 +0000 Subject: Added rtems_semaphore_flush directive. --- cpukit/rtems/include/rtems/rtems/sem.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cpukit/rtems/include/rtems/rtems/sem.h') diff --git a/cpukit/rtems/include/rtems/rtems/sem.h b/cpukit/rtems/include/rtems/rtems/sem.h index 96ae149192..7b6d623b3b 100644 --- a/cpukit/rtems/include/rtems/rtems/sem.h +++ b/cpukit/rtems/include/rtems/rtems/sem.h @@ -161,6 +161,17 @@ rtems_status_code rtems_semaphore_release( rtems_id id ); +/* + * rtems_semaphore_flush + * + * This directive allows a thread to flush the threads + * pending on the semaphore. + */ + +rtems_status_code rtems_semaphore_flush( + Objects_Id id +); + /* * _Semaphore_Seize * -- cgit v1.2.3