Mercurial > nand-ecoscentric
diff packages/kernel/current/include/sema.hxx @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | bf00f99aec69 |
| children | e0c0827131d1 |
line wrap: on
line diff
--- a/packages/kernel/current/include/sema.hxx +++ b/packages/kernel/current/include/sema.hxx @@ -49,7 +49,7 @@ #include <cyg/kernel/ktypes.h> #include <cyg/infra/cyg_ass.h> // assertion macros -#include <cyg/kernel/thread.hxx> +#include <cyg/kernel/thread.inl> // thread inlines // ------------------------------------------------------------------------- // Binary semaphore. This has only two states: posted and not-posted. @@ -109,7 +109,7 @@ public: void post(); // Increment count - cyg_count32 peek(); // Get current count value + cyg_count32 peek() const; // Get current count value inline cyg_bool waiting() // Is anyone waiting?
