Supplying RWThreadAttribute Instances After Construction
To set the thread attributes for threaded runnables already constructed, you must use the following accessor functions:
*RWThread and RWThreadSelf
void setAttribute(const RWThreadAttribute&)— Replaces the threaded runnable's current thread attribute object with another. Changing a threaded runnable's attribute object after the runnable has already been started does not affect its current thread—it can only affect the thread created the next time the runnable is started.
*RWServerPool
void setPoolAttribute(const RWThreadAttribute&)— Changes the thread attribute instance used to initialize new runnable server objects as they are created in the thread pool. Changing the pool thread attribute after the server has started does not affect new threads started by the pool server until the server pool instance is restarted.