pub struct OH_AudioWorkgroup { /* private fields */ }Available on crate feature
api-20 only.Expand description
Declare the audio workgroup. The handle of audio workgroup is used for workgroup related functions. The system will manage cpu resources on a workgroup basis instead of thread. For parallel task threads, you can add them into one workgroup, and for asynchronous task threads, use one workgroup for each thread. There is an upper limit to the total number of workgroups for each process, so application should release the workgroup which is no longer in use.
Available since API-level: 20
Auto Trait Implementations§
impl Freeze for OH_AudioWorkgroup
impl RefUnwindSafe for OH_AudioWorkgroup
impl Send for OH_AudioWorkgroup
impl Sync for OH_AudioWorkgroup
impl Unpin for OH_AudioWorkgroup
impl UnsafeUnpin for OH_AudioWorkgroup
impl UnwindSafe for OH_AudioWorkgroup
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