diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-20 15:39:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1995-12-20 15:39:19 +0000 |
commit | 5c491aef41558df022032b543d826ef4e49493b5 (patch) | |
tree | 248c4d31610a83b98c65dc26fb6a9b54b9db77e1 /cpukit/score/macros/rtems/score/tqdata.inl | |
parent | initial history lost in disk crash (diff) | |
download | rtems-5c491aef41558df022032b543d826ef4e49493b5.tar.bz2 |
changes remerged after lost in disk crash -- recovered from snapshot, partially recovered working tree, etc
Diffstat (limited to 'cpukit/score/macros/rtems/score/tqdata.inl')
-rw-r--r-- | cpukit/score/macros/rtems/score/tqdata.inl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/score/macros/rtems/score/tqdata.inl b/cpukit/score/macros/rtems/score/tqdata.inl index c0d7ee8e5e..1df3cd5270 100644 --- a/cpukit/score/macros/rtems/score/tqdata.inl +++ b/cpukit/score/macros/rtems/score/tqdata.inl @@ -44,5 +44,17 @@ #define _Thread_queue_Get_number_waiting( _the_thread_queue ) \ ( (_the_thread_queue)->count ) +/*PAGE + * + * _Thread_queue_Enter_critical_section + * + */ + +#define _Thread_queue_Enter_critical_section( _the_thread_queue ) \ + do { \ + (_the_thread_queue)->sync = TRUE; \ + (_the_thread_queue)->sync_state = THREAD_QUEUE_NOTHING_HAPPENED; \ + } while ( 0 ) + #endif /* end of include file */ |