tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RFC: BUFQ_REVOKE()



I prefer the name BUFQ_CANCEL().

How is it to be called?  What are the arguments?

-- thorpej@iPhone

On Apr 12, 2008, at 11:23 AM, Reinoud Zandijk <reinoud%NetBSD.org@localhost> wrote:

Dear folks,

i'd like to add a new BUFQ primitive to revoke an already queued buffer from a list. I'd like it to return the buf pointer if found and NULL if not found; so not finding the buffer on the list is not considered a panic or
so.

Among its application is to be able to queue buffers on a queue and be able
to move a selected buffer (not nessisary the BUFQ_GET() one!) between
queues.

Thoughts?

With regards,
Reinoud



Home | Main Index | Thread Index | Old Index