
19 Oct
2006
19 Oct
'06
9:34 a.m.
If you also use a strand per active object, then the active objects can even share an io_service with a thread pool calling io_service::run(). The strand will ensure that the operations for a single active object don't execute concurrently.
This sounds like a good approach indeed. I haven't tried strands yet, but this does seem to make a lot of sense. Although we use thread locking primitives even on the active objects (which I thought were necessary without using strands).
Could I get more informations about strands, please? regards, Oliver