diff options
Diffstat (limited to 'comm/OLD')
-rw-r--r-- | comm/OLD/Service.cc | 2 | ||||
-rw-r--r-- | comm/OLD/Service.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/comm/OLD/Service.cc b/comm/OLD/Service.cc index 73130ab..be28b60 100644 --- a/comm/OLD/Service.cc +++ b/comm/OLD/Service.cc @@ -148,7 +148,7 @@ UchService :: PeekEvent (bool wait) These functions flush the output buffer, and check the events already in the queue. If there is at least one, it is returned; \fun{GetEvent} also removes it from the event queue. -If the event queue is empty and \var{wait} is TRUE, the function blocks until an event arrives, +If the event queue is empty and \var{wait} is true, the function blocks until an event arrives, else it returns 0 without blocking. These functions also create the event queue if it was not set with \fun{SetEvQueue}. ?*/ diff --git a/comm/OLD/Service.h b/comm/OLD/Service.h index 9108917..63f3cc4 100644 --- a/comm/OLD/Service.h +++ b/comm/OLD/Service.h @@ -72,8 +72,8 @@ public: UchChannel* Copy () const; void SetEvQueue (UchMsgQueue*); - UchMessage* PeekEvent (bool = TRUE); - UchMessage* GetEvent (bool = TRUE); + UchMessage* PeekEvent (bool = true); + UchMessage* GetEvent (bool = true); void PutEvent (UchMessage*); void PutBackEvent (UchMessage*); }; |