$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2008-03-24 12:14:02
Hi Manuel
> I would really like to use a priority_scheduler<> in the statechart
> library.
> It is on the todo list of boost 1.34.1. How about its development status?
> Is it in development
No, and it's unlikely that I'll get to it it in time for 1.36 (unless of
course I'll get more requests for it, yours was the first one).
> or hast someone his own homebrew solution for a finite
> state machine with a priority scheduled event dispatcher?
I guess some Statechart users must have rolled their own priority_scheduler,
but I haven't heard about them.
> At the moment i'm using the nice ordered Multi_Index_Container to
> implement
> a priority queue. Ideas?
Implementing a priority_scheduler should not be difficult. You'll find some
information about the responsibilities of the fifo_scheduler components
here:
<http://www.boost.org/libs/statechart/doc/rationale.html#AsynchronousStateMachines>,
see Customization
HTH & Regards,
-- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.