Constructors
Declared in <bslmt_threadattributes.h>
Create a ThreadAttributes object having the (default) attribute values: * detachedState() == e_CREATE_JOINABLE * guardSize() == e_UNSET_GUARD_SIZE * inheritSchedule() == true * schedulingPolicy() == e_SCHED_DEFAULT * schedulingPriority() == e_UNSET_PRIORITY * stackSize() == e_UNSET_STACK_SIZE * threadName() == "" Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
ThreadAttributes();
» more...
Same as the default constructor, using the specified basicAllocator.
explicit
ThreadAttributes(bslma::Allocator* basicAllocator);
» more...
Create a ThreadAttributes object having the same value as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
ThreadAttributes(
ThreadAttributes const& original,
bslma::Allocator* basicAllocator = 0);
» more...