Changeset 72719d2 in rtems


Ignore:
Timestamp:
Nov 10, 1999, 8:37:01 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7d29dc7f
Parents:
74db82a
Message:

Added call to _Thread_Enable_dispatch() and did some cleanup.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/rtems/src/semflush.c

    r74db82a r72719d2  
    5353 */
    5454
     55#if defined(RTEMS_MULTIPROCESSING)
     56#define SEND_OBJECT_WAS_DELETED _Semaphore_MP_Send_object_was_deleted
     57#else
     58#define SEND_OBJECT_WAS_DELETED NULL
     59#endif
     60
    5561rtems_status_code rtems_semaphore_flush(
    5662  Objects_Id      id
     
    7682        _CORE_mutex_Flush(
    7783          &the_semaphore->Core_control.mutex,
    78           NULL,
     84          SEND_OBJECT_WAS_DELETED,
    7985          CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT
    8086        );
     
    8288        _CORE_semaphore_Flush(
    8389          &the_semaphore->Core_control.semaphore,
    84           NULL,
     90          SEND_OBJECT_WAS_DELETED,
    8591          CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT
    8692        );
    8793      }
     94      _Thread_Enable_dispatch();
    8895      return RTEMS_SUCCESSFUL;
    8996  }
  • cpukit/rtems/src/semflush.c

    r74db82a r72719d2  
    5353 */
    5454
     55#if defined(RTEMS_MULTIPROCESSING)
     56#define SEND_OBJECT_WAS_DELETED _Semaphore_MP_Send_object_was_deleted
     57#else
     58#define SEND_OBJECT_WAS_DELETED NULL
     59#endif
     60
    5561rtems_status_code rtems_semaphore_flush(
    5662  Objects_Id      id
     
    7682        _CORE_mutex_Flush(
    7783          &the_semaphore->Core_control.mutex,
    78           NULL,
     84          SEND_OBJECT_WAS_DELETED,
    7985          CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT
    8086        );
     
    8288        _CORE_semaphore_Flush(
    8389          &the_semaphore->Core_control.semaphore,
    84           NULL,
     90          SEND_OBJECT_WAS_DELETED,
    8591          CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT
    8692        );
    8793      }
     94      _Thread_Enable_dispatch();
    8895      return RTEMS_SUCCESSFUL;
    8996  }
Note: See TracChangeset for help on using the changeset viewer.