Detailed Description

Unsettled API - A context for thread-safe execution of work.

Event-handler functions associated with a single proton::connection are called in sequence. The connection's proton::work_queue allows you to "inject" extra work from any thread and have it executed in the same sequence.

You may also create arbitrary proton::work_queue objects backed by a container that allow other objects to have their own serialised work queues that can have work injected safely from other threads. The container ensures that the work is correctly serialised.

The proton::work class represents the work to be queued and can be created from a function that takes no parameters and returns no value.