Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Q] Ring Buffer Overflow

30 views
Skip to first unread message

Kim Tae Hyung

unread,
Mar 11, 2002, 4:20:01 AM3/11/02
to
Hi~ I have a question about ring buffer overflow.
I have read many articles in this group about ring
buffer overflow while doing netJobAdd().
And I concluded that it is mainly because of the lack
of CPU Power. So vxWorks cannot help but show those
messages.

But I want to remove those messages "ring buffer overflow".
I think if I can reach ring buffer data structure or global
variable, I can remove those messages. But as you know,
we cannot see any variable in the function "netJobAdd".
Is there any possible way to see a variable in the "netJobAdd"
or the source of netJobAdd?

Any comment will be appreciated.
Thanks.

joe durusau

unread,
Mar 11, 2002, 6:42:56 AM3/11/02
to

Kim Tae Hyung wrote:

It would seem silly to remove the message without removing the
cause of the message. Do you really want the system to silently
fail???

Speaking only for myself,

Joe Durusau

doug dotson

unread,
Mar 11, 2002, 2:42:47 PM3/11/02
to
If you are attempting to implement a mechanism whereby it
is legitimate to discard objects when inserted into a full ring
buffer, then a ring buffer alone is probably not the appropriate
mechanism. You can either implement a buffer on your own
that works that way or else put a wrapper around your present
ring buffer mechanism and discard the excess data without
trying to insert it into the buffer.

doug

"Kim Tae Hyung" <kot...@hanmail.net> wrote in message
news:b1b90dae.02031...@posting.google.com...

0 new messages