#include <os/workgroup_parallel.h>

os/workgroup_parallel.h

For header doc
1 typedef · 1 function

typedefos_workgroup_parallel_t

OS_WORKGROUP_SUBCLASS_DECL(os_workgroup_parallel, os_workgroup, WorkGroupParallel)

functionos_workgroup_parallel_create

API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0), watchos(7.0)) OS_WORKGROUP_EXPORT OS_WORKGROUP_RETURNS_RETAINED OS_SWIFT_NAME(WorkGroupParallel.init(__name:attr:)) os_workgroup_parallel_t _Nullable os_workgroup_parallel_create(
	const char *OS_WORKGROUP_UNSAFE_INDEXABLE _Nullable name,
	os_workgroup_attr_t _Nullable attr
)
@function os_workgroup_parallel_create @abstract Creates an os_workgroup_t which tracks a parallel workload. A newly created os_workgroup_interval_t has no initial member threads - in particular the creating thread does not join the os_workgroup_parallel_t implicitly. See also os_workgroup_max_parallel_threads(). @param name A client specified string for labelling the workgroup. This parameter is optional and can be NULL. @param attr The requested set of workgroup attributes. NULL is to be specified for the default set of attributes.