![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Problem with OMQueue Topic Summary: Created On: 16-Sep-2005 08:09 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
The following code fragment is partly from an eCos adapter I'm working on: [FONT=Courier New]OMBolean shouldGrow = FALSE; int initSize = 100; OMQueue<void*> m_theQueue; m_theQueue = OMQueue<void*>(shouldGrow, initSize);[/FONT] What I expect, is to get a (message)Queue that can hold 100 elements. But it turns out, that it's only able to hold 99 elements, before m_theQueue->isFull() returns TRUE! I'm I missing something or is this a bug in OMQueue ?! ------------------------- Jesper Gissel Johnson Controls Denmark, Marine Controls |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Problem with OMQueue
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.