On Monday 01 November 2010 22:14:49 John Baldwin wrote:
Hi John,
No, this is not possible without keeping my own queue, which I want to avoid.
By state-machine you mean remembering the last state as a separate variable
and checking that in the task-callback, right? Yes, I do that in addition to
the new queuing mechanism.
A task barrier does not solve my problem. The barrier in my case is always
last in the queue. I need to pull out previously queued tasks and put them
last. That is currently not supported. I do this because I don't want to have
a FIFO signalling model, and a neither want the pure taskqueue, which only
ensures execution, not order of execution when at the same priority.
Another issue: Won't the barrier model lead to blocking the caller once the
task in question is being issued the second time?
--HPS
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"