#[repr(C)]pub struct ddsrt_threadattr_t {
pub schedClass: ddsrt_sched_t,
pub schedPriority: i32,
pub schedAffinityN: u32,
pub schedAffinitySet: *mut u32,
pub stackSize: u32,
}Expand description
@brief Definition of the thread attributes
Fields§
§schedClass: ddsrt_sched_tSpecifies the scheduling class
schedPriority: i32Specifies the thread priority
schedAffinityN: u32Specifies thread affinity, N = 0, Set = NULL or N > 0 and Set[0..N-1] contains N CPU ids
schedAffinitySet: *mut u32§stackSize: u32Specifies the thread stack size
Trait Implementations§
Source§impl Clone for ddsrt_threadattr_t
impl Clone for ddsrt_threadattr_t
Source§fn clone(&self) -> ddsrt_threadattr_t
fn clone(&self) -> ddsrt_threadattr_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ddsrt_threadattr_t
Source§impl Debug for ddsrt_threadattr_t
impl Debug for ddsrt_threadattr_t
Auto Trait Implementations§
impl !Send for ddsrt_threadattr_t
impl !Sync for ddsrt_threadattr_t
impl Freeze for ddsrt_threadattr_t
impl RefUnwindSafe for ddsrt_threadattr_t
impl Unpin for ddsrt_threadattr_t
impl UnsafeUnpin for ddsrt_threadattr_t
impl UnwindSafe for ddsrt_threadattr_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more