Documentation
¶
Overview ¶
Package os provides Go bindings for the os framework.
Coordinate the scheduling and synchronization of your app’s tasks, and log information to the console to diagnose issues.
Essentials ¶
- Reading UNIX Manual Pages: Use the Terminal app to read the documentation for low-level UNIX tools and APIs.
Logs ¶
- Logging: Capture telemetry from your app for debugging and performance analysis using the unified logging system. (OSLogType, OSSignpostType)
Memory ¶
- OSBlock: A block that takes no arguments and returns no value.
- OSFunction: A pointer to a function.
- OSRelease
- OSRetain
Functions ¶
Enumerations ¶
Key Types ¶
- OSObject
- OSOSWorkgroup
- OSOSWorkgroupInterval
- OSOSWorkgroupParallel
- OSLog - A container of related log messages.
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- func BindFunc(fptr any, name string) (err error)
- func NewOSBlock(handler OSBlock) (objc.ID, func())
- func NewOSTracePayloadBlock(handler OSTracePayload) (objc.ID, func())
- func OSActivityApply(activity OSActivity, block OSBlock)
- func OSActivityApplyF(activity OSActivity, context unsafe.Pointer, function OSFunction)
- func OSActivityEnd(activity OSActivity)deprecated
- func OSActivityGetActive(entries *OSActivityID, count *uint32) uint32deprecated
- func OSActivityScopeEnter(activity OSActivity, state OSActivityScopeState)
- func OSActivityScopeLeave(state OSActivityScopeState)
- func OSLogCreate(subsystem string, category string) kernel.Os_log_t
- func OSLogIsDebugEnabled(log kernel.Os_log_t) booldeprecated
- func OSLogIsEnabled(log kernel.Os_log_t) booldeprecated
- func OSLogTypeEnabled(oslog kernel.Os_log_t, type_ OSLogType) bool
- func OSRelease(object unsafe.Pointer)
- func OSRetain(object unsafe.Pointer) unsafe.Pointer
- func OSSecurityConfigGetForProc(pid int32, config *OSSecurityConfig) int32
- func OSSecurityConfigGetForTask(task uint32, config *OSSecurityConfig) int32
- func OSSignpostEnabled(log kernel.Os_log_t) bool
- func OSSyncWaitOnAddress(addr unsafe.Pointer, value uint64, size uintptr, ...) int32
- func OSSyncWaitOnAddressWithDeadline(addr unsafe.Pointer, value uint64, size uintptr, ...) int32
- func OSSyncWaitOnAddressWithTimeout(addr unsafe.Pointer, value uint64, size uintptr, ...) int32
- func OSSyncWakeByAddressAll(addr unsafe.Pointer, size uintptr, flags OSSyncWakeByAddressFlags) int32
- func OSSyncWakeByAddressAny(addr unsafe.Pointer, size uintptr, flags OSSyncWakeByAddressFlags) int32
- func OSTraceDebugEnabled() booldeprecated
- func OSTraceInfoEnabled() booldeprecated
- func OSUnfairLockAssertNotOwner(lock *[4]byte)
- func OSUnfairLockAssertOwner(lock *[4]byte)
- func OSUnfairLockLock(lock unsafe.Pointer)
- func OSUnfairLockLockWithFlags(lock unsafe.Pointer, flags OSUnfairLockFlags)
- func OSUnfairLockTrylock(lock unsafe.Pointer) bool
- func OSUnfairLockUnlock(lock unsafe.Pointer)
- func OSWorkgroupCancel(wg OSWorkgroup)
- func OSWorkgroupCopyPort(wg OSWorkgroup, mach_port_out *uint32) int32
- func OSWorkgroupGetWorkingArena(wg OSWorkgroup, index_out *OSWorkgroupIndex) unsafe.Pointer
- func OSWorkgroupIntervalFinish(wg OSWorkgroupInterval, data OSWorkgroupIntervalData) int32
- func OSWorkgroupIntervalStart(wg OSWorkgroupInterval, start uint64, deadline uint64, ...) int32
- func OSWorkgroupIntervalUpdate(wg OSWorkgroupInterval, deadline uint64, data OSWorkgroupIntervalData) int32
- func OSWorkgroupJoin(wg OSWorkgroup, token_out OSWorkgroupJoinToken) int32
- func OSWorkgroupLeave(wg OSWorkgroup, token OSWorkgroupJoinToken)
- func OSWorkgroupMaxParallelThreads(wg OSWorkgroup, attr OSWorkgroupMptAttr) int32
- func OSWorkgroupSetWorkingArena(wg OSWorkgroup, arena unsafe.Pointer, max_workers uint32, ...) int32
- func OSWorkgroupTestcancel(wg OSWorkgroup) bool
- func SymbolAddress(name string) (uintptr, error)
- func TryOSActivityApply(activity OSActivity, block OSBlock) error
- func TryOSActivityApplyF(activity OSActivity, context unsafe.Pointer, function OSFunction) error
- func TryOSActivityEnd(activity OSActivity) error
- func TryOSActivityGetActive(entries *OSActivityID, count *uint32) (uint32, error)
- func TryOSActivityScopeEnter(activity OSActivity, state OSActivityScopeState) error
- func TryOSActivityScopeLeave(state OSActivityScopeState) error
- func TryOSLogCreate(subsystem string, category string) (kernel.Os_log_t, error)
- func TryOSLogIsDebugEnabled(log kernel.Os_log_t) (bool, error)
- func TryOSLogIsEnabled(log kernel.Os_log_t) (bool, error)
- func TryOSLogTypeEnabled(oslog kernel.Os_log_t, type_ OSLogType) (bool, error)
- func TryOSRelease(object unsafe.Pointer) error
- func TryOSRetain(object unsafe.Pointer) (unsafe.Pointer, error)
- func TryOSSecurityConfigGetForProc(pid int32, config *OSSecurityConfig) (int32, error)
- func TryOSSecurityConfigGetForTask(task uint32, config *OSSecurityConfig) (int32, error)
- func TryOSSignpostEnabled(log kernel.Os_log_t) (bool, error)
- func TryOSSyncWaitOnAddress(addr unsafe.Pointer, value uint64, size uintptr, ...) (int32, error)
- func TryOSSyncWaitOnAddressWithDeadline(addr unsafe.Pointer, value uint64, size uintptr, ...) (int32, error)
- func TryOSSyncWaitOnAddressWithTimeout(addr unsafe.Pointer, value uint64, size uintptr, ...) (int32, error)
- func TryOSSyncWakeByAddressAll(addr unsafe.Pointer, size uintptr, flags OSSyncWakeByAddressFlags) (int32, error)
- func TryOSSyncWakeByAddressAny(addr unsafe.Pointer, size uintptr, flags OSSyncWakeByAddressFlags) (int32, error)
- func TryOSTraceDebugEnabled() (bool, error)
- func TryOSTraceInfoEnabled() (bool, error)
- func TryOSUnfairLockAssertNotOwner(lock *[4]byte) error
- func TryOSUnfairLockAssertOwner(lock *[4]byte) error
- func TryOSUnfairLockLock(lock unsafe.Pointer) error
- func TryOSUnfairLockLockWithFlags(lock unsafe.Pointer, flags OSUnfairLockFlags) error
- func TryOSUnfairLockTrylock(lock unsafe.Pointer) (bool, error)
- func TryOSUnfairLockUnlock(lock unsafe.Pointer) error
- func TryOSWorkgroupCancel(wg OSWorkgroup) error
- func TryOSWorkgroupCopyPort(wg OSWorkgroup, mach_port_out *uint32) (int32, error)
- func TryOSWorkgroupGetWorkingArena(wg OSWorkgroup, index_out *OSWorkgroupIndex) (unsafe.Pointer, error)
- func TryOSWorkgroupIntervalFinish(wg OSWorkgroupInterval, data OSWorkgroupIntervalData) (int32, error)
- func TryOSWorkgroupIntervalStart(wg OSWorkgroupInterval, start uint64, deadline uint64, ...) (int32, error)
- func TryOSWorkgroupIntervalUpdate(wg OSWorkgroupInterval, deadline uint64, data OSWorkgroupIntervalData) (int32, error)
- func TryOSWorkgroupJoin(wg OSWorkgroup, token_out OSWorkgroupJoinToken) (int32, error)
- func TryOSWorkgroupLeave(wg OSWorkgroup, token OSWorkgroupJoinToken) error
- func TryOSWorkgroupMaxParallelThreads(wg OSWorkgroup, attr OSWorkgroupMptAttr) (int32, error)
- func TryOSWorkgroupSetWorkingArena(wg OSWorkgroup, arena unsafe.Pointer, max_workers uint32, ...) (int32, error)
- func TryOSWorkgroupTestcancel(wg OSWorkgroup) (bool, error)
- type IOSLog
- type IOSOSWorkgroup
- type IOSOSWorkgroupInterval
- type IOSOSWorkgroupParallel
- type IOSObject
- type OSActivity
- type OSActivityFlag
- type OSActivityID
- type OSActivityScopeState
- type OSActivityScopeStateS
- type OSBlock
- type OSBreadcrumbdeprecated
- type OSClockid
- type OSFunction
- type OSLog
- type OSLogClass
- type OSLogType
- type OSOSWorkgroup
- type OSOSWorkgroupClass
- type OSOSWorkgroupInterval
- type OSOSWorkgroupIntervalClass
- type OSOSWorkgroupParallel
- type OSOSWorkgroupParallelClass
- type OSObject
- type OSObjectClass
- type OSSecurityConfig
- type OSSignpostID
- func OSSignpostIDGenerate(log kernel.Os_log_t) OSSignpostID
- func OSSignpostIDMakeWithPointer(log kernel.Os_log_t, ptr unsafe.Pointer) OSSignpostID
- func TryOSSignpostIDGenerate(log kernel.Os_log_t) (OSSignpostID, error)
- func TryOSSignpostIDMakeWithPointer(log kernel.Os_log_t, ptr unsafe.Pointer) (OSSignpostID, error)
- type OSSignpostType
- type OSSyncWaitOnAddressFlags
- type OSSyncWakeByAddressFlags
- type OSTracePayload
- type OSTracePayloadObject
- type OSUnfairLock
- type OSUnfairLockFlags
- type OSUnfairLockS
- type OSWorkgroup
- func OSWorkgroupCreateWithPort(name string, mach_port uint32) OSWorkgroup
- func OSWorkgroupCreateWithWorkgroup(name string, wg OSWorkgroup) OSWorkgroup
- func TryOSWorkgroupCreateWithPort(name string, mach_port uint32) (OSWorkgroup, error)
- func TryOSWorkgroupCreateWithWorkgroup(name string, wg OSWorkgroup) (OSWorkgroup, error)
- type OSWorkgroupAttr
- type OSWorkgroupAttrOpaqueS
- type OSWorkgroupAttrS
- type OSWorkgroupIndex
- type OSWorkgroupInterval
- type OSWorkgroupIntervalData
- type OSWorkgroupIntervalDataOpaqueS
- type OSWorkgroupIntervalDataS
- type OSWorkgroupJoinToken
- type OSWorkgroupJoinTokenOpaqueS
- type OSWorkgroupJoinTokenS
- type OSWorkgroupMptAttr
- type OSWorkgroupMptAttrS
- type OSWorkgroupParallel
- type OSWorkgroupWorkingArenaDestructor
- type OS_os_activity
- type OS_os_activityObject
- type OS_os_log
- type OS_os_logObject
- type OS_os_workgroup_interval
- type OS_os_workgroup_intervalObject
- type OS_os_workgroup_parallel
- type OS_os_workgroup_parallelObject
- type Os_activity_flag_t
- type Os_activity_id_t
- type Os_activity_scope_state_s
- type Os_activity_scope_state_t
- type Os_activity_t
- type Os_block_t
- type Os_breadcrumb_t
- type Os_clockid_t
- type Os_function_t
- type Os_log_type_t
- type Os_security_config_t
- type Os_signpost_id_t
- type Os_signpost_type_t
- type Os_sync_wait_on_address_flags_t
- type Os_sync_wake_by_address_flags_t
- type Os_trace_payload_object_t
- type Os_trace_payload_t
- type Os_unfair_lock
- type Os_unfair_lock_flags_t
- type Os_unfair_lock_s
- type Os_workgroup_attr_opaque_s
- type Os_workgroup_attr_s
- type Os_workgroup_attr_t
- type Os_workgroup_index
- type Os_workgroup_interval_data_opaque_s
- type Os_workgroup_interval_data_s
- type Os_workgroup_interval_data_t
- type Os_workgroup_interval_t
- type Os_workgroup_join_token_opaque_s
- type Os_workgroup_join_token_s
- type Os_workgroup_join_token_t
- type Os_workgroup_mpt_attr_s
- type Os_workgroup_mpt_attr_t
- type Os_workgroup_parallel_t
- type Os_workgroup_t
- type Os_workgroup_working_arena_destructor_t
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindFunc ¶
BindFunc binds the os symbol name into fptr, which must be a pointer to a func variable.
The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.
func NewOSBlock ¶
NewOSBlock wraps a Go OSBlock as an Objective-C block. The caller must defer the returned cleanup function.
func NewOSTracePayloadBlock ¶
func NewOSTracePayloadBlock(handler OSTracePayload) (objc.ID, func())
NewOSTracePayloadBlock wraps a Go OSTracePayload as an Objective-C block. The caller must defer the returned cleanup function.
func OSActivityApply ¶ added in v0.6.17
func OSActivityApply(activity OSActivity, block OSBlock)
OSActivityApply execute a block using a given activity object.
It panics if os_activity_apply is unavailable at run time; use TryOSActivityApply to get an error instead.
See: https://developer.apple.com/documentation/os/os_activity_apply
func OSActivityApplyF ¶ added in v0.6.17
func OSActivityApplyF(activity OSActivity, context unsafe.Pointer, function OSFunction)
OSActivityApplyF execute a function using a given activity object.
It panics if os_activity_apply_f is unavailable at run time; use TryOSActivityApplyF to get an error instead.
See: https://developer.apple.com/documentation/os/os_activity_apply_f
func OSActivityEnd
deprecated
func OSActivityEnd(activity OSActivity)
OSActivityEnd ends the specified activity on the current thread.
It panics if os_activity_end is unavailable at run time; use TryOSActivityEnd to get an error instead.
Deprecated: Deprecated since macOS 10.12. Use [os_activity_create](<https://developer.apple.com/documentation/os/os_activity_create>) and [os_activity_apply](<https://developer.apple.com/documentation/os/os_activity_apply>) instead.
See: https://developer.apple.com/documentation/os/os_activity_end
func OSActivityGetActive
deprecated
func OSActivityGetActive(entries *OSActivityID, count *uint32) uint32
OSActivityGetActive returns the stack of nested activities associated with the current thread.
It panics if os_activity_get_active is unavailable at run time; use TryOSActivityGetActive to get an error instead.
Deprecated: Deprecated since macOS 10.12. This function is no longer supported, and there is no replacement.
See: https://developer.apple.com/documentation/os/os_activity_get_active
func OSActivityScopeEnter ¶ added in v0.6.17
func OSActivityScopeEnter(activity OSActivity, state OSActivityScopeState)
OSActivityScopeEnter switches the current activity, saving the existing execution context.
It panics if os_activity_scope_enter is unavailable at run time; use TryOSActivityScopeEnter to get an error instead.
See: https://developer.apple.com/documentation/os/os_activity_scope_enter
func OSActivityScopeLeave ¶ added in v0.6.17
func OSActivityScopeLeave(state OSActivityScopeState)
OSActivityScopeLeave restores the current activity to a previously saved state.
It panics if os_activity_scope_leave is unavailable at run time; use TryOSActivityScopeLeave to get an error instead.
See: https://developer.apple.com/documentation/os/os_activity_scope_leave
func OSLogCreate ¶ added in v0.6.17
OSLogCreate creates a custom log object.
It panics if os_log_create is unavailable at run time; use TryOSLogCreate to get an error instead.
See: https://developer.apple.com/documentation/os/os_log_create
func OSLogIsDebugEnabled
deprecated
OSLogIsDebugEnabled.
It panics if os_log_is_debug_enabled is unavailable at run time; use TryOSLogIsDebugEnabled to get an error instead.
Deprecated: Deprecated since macOS 10.12. Use [os_log_debug_enabled](<https://developer.apple.com/documentation/os/os_log_debug_enabled>) instead.
See: https://developer.apple.com/documentation/os/os_log_is_debug_enabled
func OSLogIsEnabled
deprecated
OSLogIsEnabled.
It panics if os_log_is_enabled is unavailable at run time; use TryOSLogIsEnabled to get an error instead.
Deprecated: Deprecated since macOS 10.12. This function always returns [true](<https://developer.apple.com/documentation/Swift/true>). Use [isEnabled(type:)](<https://developer.apple.com/documentation/os/OSLog/isEnabled(type:)>) instead.
See: https://developer.apple.com/documentation/os/os_log_is_enabled
func OSLogTypeEnabled ¶ added in v0.6.17
OSLogTypeEnabled returns a Boolean value that indicates whether the log can write messages with the specified log type.
It panics if os_log_type_enabled is unavailable at run time; use TryOSLogTypeEnabled to get an error instead.
See: https://developer.apple.com/documentation/os/OSLog/isEnabled(type:)
func OSRelease ¶ added in v0.6.17
OSRelease.
It panics if os_release is unavailable at run time; use TryOSRelease to get an error instead.
See: https://developer.apple.com/documentation/os/os_release-c.func
func OSRetain ¶ added in v0.6.17
OSRetain.
It panics if os_retain is unavailable at run time; use TryOSRetain to get an error instead.
See: https://developer.apple.com/documentation/os/os_retain-c.func
func OSSecurityConfigGetForProc ¶ added in v0.6.17
func OSSecurityConfigGetForProc(pid int32, config *OSSecurityConfig) int32
OSSecurityConfigGetForProc.
It panics if os_security_config_get_for_proc is unavailable at run time; use TryOSSecurityConfigGetForProc to get an error instead.
See: https://developer.apple.com/documentation/os/os_security_config_get_for_proc
func OSSecurityConfigGetForTask ¶ added in v0.6.17
func OSSecurityConfigGetForTask(task uint32, config *OSSecurityConfig) int32
OSSecurityConfigGetForTask.
It panics if os_security_config_get_for_task is unavailable at run time; use TryOSSecurityConfigGetForTask to get an error instead.
See: https://developer.apple.com/documentation/os/os_security_config_get_for_task
func OSSignpostEnabled ¶ added in v0.6.17
OSSignpostEnabled returns a Boolean value that indicates whether signposts are in an enabled state for the specified log.
It panics if os_signpost_enabled is unavailable at run time; use TryOSSignpostEnabled to get an error instead.
See: https://developer.apple.com/documentation/os/os_signpost_enabled
func OSSyncWaitOnAddress ¶ added in v0.6.17
func OSSyncWaitOnAddress(addr unsafe.Pointer, value uint64, size uintptr, flags OSSyncWaitOnAddressFlags) int32
OSSyncWaitOnAddress an atomic compare-and-wait operation, used to implement higher-level synchronization primitives.
It panics if os_sync_wait_on_address is unavailable at run time; use TryOSSyncWaitOnAddress to get an error instead.
See: https://developer.apple.com/documentation/os/os_sync_wait_on_address
func OSSyncWaitOnAddressWithDeadline ¶ added in v0.6.17
func OSSyncWaitOnAddressWithDeadline(addr unsafe.Pointer, value uint64, size uintptr, flags OSSyncWaitOnAddressFlags, clockid OSClockid, deadline uint64) int32
OSSyncWaitOnAddressWithDeadline an atomic compare-and-wait operation with a deadline, used to implement higher-level synchronization primitives.
It panics if os_sync_wait_on_address_with_deadline is unavailable at run time; use TryOSSyncWaitOnAddressWithDeadline to get an error instead.
See: https://developer.apple.com/documentation/os/os_sync_wait_on_address_with_deadline
func OSSyncWaitOnAddressWithTimeout ¶ added in v0.6.17
func OSSyncWaitOnAddressWithTimeout(addr unsafe.Pointer, value uint64, size uintptr, flags OSSyncWaitOnAddressFlags, clockid OSClockid, timeout_ns uint64) int32
OSSyncWaitOnAddressWithTimeout an atomic compare-and-wait operation with a timeout, used to implement higher-level synchronization primitives.
It panics if os_sync_wait_on_address_with_timeout is unavailable at run time; use TryOSSyncWaitOnAddressWithTimeout to get an error instead.
See: https://developer.apple.com/documentation/os/os_sync_wait_on_address_with_timeout
func OSSyncWakeByAddressAll ¶ added in v0.6.17
func OSSyncWakeByAddressAll(addr unsafe.Pointer, size uintptr, flags OSSyncWakeByAddressFlags) int32
OSSyncWakeByAddressAll an atomic operation that wakes all threads blocked on a futex wait, used to implement higher-level synchronization primitives.
It panics if os_sync_wake_by_address_all is unavailable at run time; use TryOSSyncWakeByAddressAll to get an error instead.
See: https://developer.apple.com/documentation/os/os_sync_wake_by_address_all
func OSSyncWakeByAddressAny ¶ added in v0.6.17
func OSSyncWakeByAddressAny(addr unsafe.Pointer, size uintptr, flags OSSyncWakeByAddressFlags) int32
OSSyncWakeByAddressAny an atomic operation that wakes one thread blocked on a futex wait, used to implement higher-level synchronization primitives.
It panics if os_sync_wake_by_address_any is unavailable at run time; use TryOSSyncWakeByAddressAny to get an error instead.
See: https://developer.apple.com/documentation/os/os_sync_wake_by_address_any
func OSTraceDebugEnabled
deprecated
func OSTraceDebugEnabled() bool
OSTraceDebugEnabled returns whether debug level trace information is enabled.
It panics if os_trace_debug_enabled is unavailable at run time; use TryOSTraceDebugEnabled to get an error instead.
Deprecated: Deprecated since macOS 10.13. Use [os_log_debug_enabled](<https://developer.apple.com/documentation/os/os_log_debug_enabled>) instead.
See: https://developer.apple.com/documentation/os/os_trace_debug_enabled()
func OSTraceInfoEnabled
deprecated
func OSTraceInfoEnabled() bool
OSTraceInfoEnabled returns whether info level trace information is enabled.
It panics if os_trace_info_enabled is unavailable at run time; use TryOSTraceInfoEnabled to get an error instead.
Deprecated: Deprecated since macOS 10.13. Use [os_log_info_enabled](<https://developer.apple.com/documentation/os/os_log_info_enabled>) instead.
See: https://developer.apple.com/documentation/os/os_trace_info_enabled()
func OSUnfairLockAssertNotOwner ¶ added in v0.6.17
func OSUnfairLockAssertNotOwner(lock *[4]byte)
OSUnfairLockAssertNotOwner triggers an assertion if the calling thread owns the specified unfair lock.
It panics if os_unfair_lock_assert_not_owner is unavailable at run time; use TryOSUnfairLockAssertNotOwner to get an error instead.
See: https://developer.apple.com/documentation/os/os_unfair_lock_assert_not_owner
func OSUnfairLockAssertOwner ¶ added in v0.6.17
func OSUnfairLockAssertOwner(lock *[4]byte)
OSUnfairLockAssertOwner triggers an assertion if the calling thread doesn’t own the specified unfair lock.
It panics if os_unfair_lock_assert_owner is unavailable at run time; use TryOSUnfairLockAssertOwner to get an error instead.
See: https://developer.apple.com/documentation/os/os_unfair_lock_assert_owner
func OSUnfairLockLock ¶ added in v0.6.17
OSUnfairLockLock a low-level lock that allows waiters to block efficiently on contention.
It panics if os_unfair_lock_lock is unavailable at run time; use TryOSUnfairLockLock to get an error instead.
See: https://developer.apple.com/documentation/os/os_unfair_lock_lock
func OSUnfairLockLockWithFlags ¶ added in v0.6.17
func OSUnfairLockLockWithFlags(lock unsafe.Pointer, flags OSUnfairLockFlags)
OSUnfairLockLockWithFlags.
It panics if os_unfair_lock_lock_with_flags is unavailable at run time; use TryOSUnfairLockLockWithFlags to get an error instead.
See: https://developer.apple.com/documentation/os/os_unfair_lock_lock_with_flags
func OSUnfairLockTrylock ¶ added in v0.6.17
OSUnfairLockTrylock locks an unfair lock if it is not already locked.
It panics if os_unfair_lock_trylock is unavailable at run time; use TryOSUnfairLockTrylock to get an error instead.
See: https://developer.apple.com/documentation/os/os_unfair_lock_trylock
func OSUnfairLockUnlock ¶ added in v0.6.17
OSUnfairLockUnlock unlocks an unfair lock.
It panics if os_unfair_lock_unlock is unavailable at run time; use TryOSUnfairLockUnlock to get an error instead.
See: https://developer.apple.com/documentation/os/os_unfair_lock_unlock
func OSWorkgroupCancel ¶ added in v0.6.17
func OSWorkgroupCancel(wg OSWorkgroup)
OSWorkgroupCancel cancels and invalidates the specified workgroup.
It panics if os_workgroup_cancel is unavailable at run time; use TryOSWorkgroupCancel to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_cancel
func OSWorkgroupCopyPort ¶ added in v0.6.17
func OSWorkgroupCopyPort(wg OSWorkgroup, mach_port_out *uint32) int32
OSWorkgroupCopyPort returns the Mach port associated with the workgroup.
It panics if os_workgroup_copy_port is unavailable at run time; use TryOSWorkgroupCopyPort to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_copy_port
func OSWorkgroupGetWorkingArena ¶ added in v0.6.17
func OSWorkgroupGetWorkingArena(wg OSWorkgroup, index_out *OSWorkgroupIndex) unsafe.Pointer
OSWorkgroupGetWorkingArena retrieves the workgroup’s shared data, and the thread-specific index into that data.
It panics if os_workgroup_get_working_arena is unavailable at run time; use TryOSWorkgroupGetWorkingArena to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_get_working_arena
func OSWorkgroupIntervalFinish ¶ added in v0.6.17
func OSWorkgroupIntervalFinish(wg OSWorkgroupInterval, data OSWorkgroupIntervalData) int32
OSWorkgroupIntervalFinish stops the current interval-based execution of the workgroup’s threads.
It panics if os_workgroup_interval_finish is unavailable at run time; use TryOSWorkgroupIntervalFinish to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_interval_finish
func OSWorkgroupIntervalStart ¶ added in v0.6.17
func OSWorkgroupIntervalStart(wg OSWorkgroupInterval, start uint64, deadline uint64, data OSWorkgroupIntervalData) int32
OSWorkgroupIntervalStart starts the regular execution of the workgroup’s threads at the specified time.
It panics if os_workgroup_interval_start is unavailable at run time; use TryOSWorkgroupIntervalStart to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_interval_start
func OSWorkgroupIntervalUpdate ¶ added in v0.6.17
func OSWorkgroupIntervalUpdate(wg OSWorkgroupInterval, deadline uint64, data OSWorkgroupIntervalData) int32
OSWorkgroupIntervalUpdate schedules a new deadline for workgroup threads that run at regular intervals.
It panics if os_workgroup_interval_update is unavailable at run time; use TryOSWorkgroupIntervalUpdate to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_interval_update
func OSWorkgroupJoin ¶ added in v0.6.17
func OSWorkgroupJoin(wg OSWorkgroup, token_out OSWorkgroupJoinToken) int32
OSWorkgroupJoin adds the current thread to the specified workgroup.
It panics if os_workgroup_join is unavailable at run time; use TryOSWorkgroupJoin to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_join
func OSWorkgroupLeave ¶ added in v0.6.17
func OSWorkgroupLeave(wg OSWorkgroup, token OSWorkgroupJoinToken)
OSWorkgroupLeave removes the current thread from the workgroup it previously joined.
It panics if os_workgroup_leave is unavailable at run time; use TryOSWorkgroupLeave to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_leave
func OSWorkgroupMaxParallelThreads ¶ added in v0.6.17
func OSWorkgroupMaxParallelThreads(wg OSWorkgroup, attr OSWorkgroupMptAttr) int32
OSWorkgroupMaxParallelThreads returns the maximum number of threads that the system recommends you add to the specified workgroup.
It panics if os_workgroup_max_parallel_threads is unavailable at run time; use TryOSWorkgroupMaxParallelThreads to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_max_parallel_threads
func OSWorkgroupSetWorkingArena ¶ added in v0.6.17
func OSWorkgroupSetWorkingArena(wg OSWorkgroup, arena unsafe.Pointer, max_workers uint32, destructor OSWorkgroupWorkingArenaDestructor) int32
OSWorkgroupSetWorkingArena distributes a block of managed memory to the threads of a workgroup.
It panics if os_workgroup_set_working_arena is unavailable at run time; use TryOSWorkgroupSetWorkingArena to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_set_working_arena
func OSWorkgroupTestcancel ¶ added in v0.6.17
func OSWorkgroupTestcancel(wg OSWorkgroup) bool
OSWorkgroupTestcancel returns a Boolean value that indicates whether the workgroup is canceled.
It panics if os_workgroup_testcancel is unavailable at run time; use TryOSWorkgroupTestcancel to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_testcancel
func SymbolAddress ¶
SymbolAddress returns the address of name in os, whether or not this package generated a binding for it.
What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.
The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.
func TryOSActivityApply ¶
func TryOSActivityApply(activity OSActivity, block OSBlock) error
TryOSActivityApply is like OSActivityApply but returns an error instead of panicking if os_activity_apply is unavailable at run time.
func TryOSActivityApplyF ¶
func TryOSActivityApplyF(activity OSActivity, context unsafe.Pointer, function OSFunction) error
TryOSActivityApplyF is like OSActivityApplyF but returns an error instead of panicking if os_activity_apply_f is unavailable at run time.
func TryOSActivityEnd ¶
func TryOSActivityEnd(activity OSActivity) error
TryOSActivityEnd is like OSActivityEnd but returns an error instead of panicking if os_activity_end is unavailable at run time.
func TryOSActivityGetActive ¶
func TryOSActivityGetActive(entries *OSActivityID, count *uint32) (uint32, error)
TryOSActivityGetActive is like OSActivityGetActive but returns an error instead of panicking if os_activity_get_active is unavailable at run time.
func TryOSActivityScopeEnter ¶
func TryOSActivityScopeEnter(activity OSActivity, state OSActivityScopeState) error
TryOSActivityScopeEnter is like OSActivityScopeEnter but returns an error instead of panicking if os_activity_scope_enter is unavailable at run time.
func TryOSActivityScopeLeave ¶
func TryOSActivityScopeLeave(state OSActivityScopeState) error
TryOSActivityScopeLeave is like OSActivityScopeLeave but returns an error instead of panicking if os_activity_scope_leave is unavailable at run time.
func TryOSLogCreate ¶
TryOSLogCreate is like OSLogCreate but returns an error instead of panicking if os_log_create is unavailable at run time.
func TryOSLogIsDebugEnabled ¶
TryOSLogIsDebugEnabled is like OSLogIsDebugEnabled but returns an error instead of panicking if os_log_is_debug_enabled is unavailable at run time.
func TryOSLogIsEnabled ¶
TryOSLogIsEnabled is like OSLogIsEnabled but returns an error instead of panicking if os_log_is_enabled is unavailable at run time.
func TryOSLogTypeEnabled ¶
TryOSLogTypeEnabled is like OSLogTypeEnabled but returns an error instead of panicking if os_log_type_enabled is unavailable at run time.
func TryOSRelease ¶
TryOSRelease is like OSRelease but returns an error instead of panicking if os_release is unavailable at run time.
func TryOSRetain ¶
TryOSRetain is like OSRetain but returns an error instead of panicking if os_retain is unavailable at run time.
func TryOSSecurityConfigGetForProc ¶
func TryOSSecurityConfigGetForProc(pid int32, config *OSSecurityConfig) (int32, error)
TryOSSecurityConfigGetForProc is like OSSecurityConfigGetForProc but returns an error instead of panicking if os_security_config_get_for_proc is unavailable at run time.
func TryOSSecurityConfigGetForTask ¶
func TryOSSecurityConfigGetForTask(task uint32, config *OSSecurityConfig) (int32, error)
TryOSSecurityConfigGetForTask is like OSSecurityConfigGetForTask but returns an error instead of panicking if os_security_config_get_for_task is unavailable at run time.
func TryOSSignpostEnabled ¶
TryOSSignpostEnabled is like OSSignpostEnabled but returns an error instead of panicking if os_signpost_enabled is unavailable at run time.
func TryOSSyncWaitOnAddress ¶
func TryOSSyncWaitOnAddress(addr unsafe.Pointer, value uint64, size uintptr, flags OSSyncWaitOnAddressFlags) (int32, error)
TryOSSyncWaitOnAddress is like OSSyncWaitOnAddress but returns an error instead of panicking if os_sync_wait_on_address is unavailable at run time.
func TryOSSyncWaitOnAddressWithDeadline ¶
func TryOSSyncWaitOnAddressWithDeadline(addr unsafe.Pointer, value uint64, size uintptr, flags OSSyncWaitOnAddressFlags, clockid OSClockid, deadline uint64) (int32, error)
TryOSSyncWaitOnAddressWithDeadline is like OSSyncWaitOnAddressWithDeadline but returns an error instead of panicking if os_sync_wait_on_address_with_deadline is unavailable at run time.
func TryOSSyncWaitOnAddressWithTimeout ¶
func TryOSSyncWaitOnAddressWithTimeout(addr unsafe.Pointer, value uint64, size uintptr, flags OSSyncWaitOnAddressFlags, clockid OSClockid, timeout_ns uint64) (int32, error)
TryOSSyncWaitOnAddressWithTimeout is like OSSyncWaitOnAddressWithTimeout but returns an error instead of panicking if os_sync_wait_on_address_with_timeout is unavailable at run time.
func TryOSSyncWakeByAddressAll ¶
func TryOSSyncWakeByAddressAll(addr unsafe.Pointer, size uintptr, flags OSSyncWakeByAddressFlags) (int32, error)
TryOSSyncWakeByAddressAll is like OSSyncWakeByAddressAll but returns an error instead of panicking if os_sync_wake_by_address_all is unavailable at run time.
func TryOSSyncWakeByAddressAny ¶
func TryOSSyncWakeByAddressAny(addr unsafe.Pointer, size uintptr, flags OSSyncWakeByAddressFlags) (int32, error)
TryOSSyncWakeByAddressAny is like OSSyncWakeByAddressAny but returns an error instead of panicking if os_sync_wake_by_address_any is unavailable at run time.
func TryOSTraceDebugEnabled ¶
TryOSTraceDebugEnabled is like OSTraceDebugEnabled but returns an error instead of panicking if os_trace_debug_enabled is unavailable at run time.
func TryOSTraceInfoEnabled ¶
TryOSTraceInfoEnabled is like OSTraceInfoEnabled but returns an error instead of panicking if os_trace_info_enabled is unavailable at run time.
func TryOSUnfairLockAssertNotOwner ¶
TryOSUnfairLockAssertNotOwner is like OSUnfairLockAssertNotOwner but returns an error instead of panicking if os_unfair_lock_assert_not_owner is unavailable at run time.
func TryOSUnfairLockAssertOwner ¶
TryOSUnfairLockAssertOwner is like OSUnfairLockAssertOwner but returns an error instead of panicking if os_unfair_lock_assert_owner is unavailable at run time.
func TryOSUnfairLockLock ¶
TryOSUnfairLockLock is like OSUnfairLockLock but returns an error instead of panicking if os_unfair_lock_lock is unavailable at run time.
func TryOSUnfairLockLockWithFlags ¶
func TryOSUnfairLockLockWithFlags(lock unsafe.Pointer, flags OSUnfairLockFlags) error
TryOSUnfairLockLockWithFlags is like OSUnfairLockLockWithFlags but returns an error instead of panicking if os_unfair_lock_lock_with_flags is unavailable at run time.
func TryOSUnfairLockTrylock ¶
TryOSUnfairLockTrylock is like OSUnfairLockTrylock but returns an error instead of panicking if os_unfair_lock_trylock is unavailable at run time.
func TryOSUnfairLockUnlock ¶
TryOSUnfairLockUnlock is like OSUnfairLockUnlock but returns an error instead of panicking if os_unfair_lock_unlock is unavailable at run time.
func TryOSWorkgroupCancel ¶
func TryOSWorkgroupCancel(wg OSWorkgroup) error
TryOSWorkgroupCancel is like OSWorkgroupCancel but returns an error instead of panicking if os_workgroup_cancel is unavailable at run time.
func TryOSWorkgroupCopyPort ¶
func TryOSWorkgroupCopyPort(wg OSWorkgroup, mach_port_out *uint32) (int32, error)
TryOSWorkgroupCopyPort is like OSWorkgroupCopyPort but returns an error instead of panicking if os_workgroup_copy_port is unavailable at run time.
func TryOSWorkgroupGetWorkingArena ¶
func TryOSWorkgroupGetWorkingArena(wg OSWorkgroup, index_out *OSWorkgroupIndex) (unsafe.Pointer, error)
TryOSWorkgroupGetWorkingArena is like OSWorkgroupGetWorkingArena but returns an error instead of panicking if os_workgroup_get_working_arena is unavailable at run time.
func TryOSWorkgroupIntervalFinish ¶
func TryOSWorkgroupIntervalFinish(wg OSWorkgroupInterval, data OSWorkgroupIntervalData) (int32, error)
TryOSWorkgroupIntervalFinish is like OSWorkgroupIntervalFinish but returns an error instead of panicking if os_workgroup_interval_finish is unavailable at run time.
func TryOSWorkgroupIntervalStart ¶
func TryOSWorkgroupIntervalStart(wg OSWorkgroupInterval, start uint64, deadline uint64, data OSWorkgroupIntervalData) (int32, error)
TryOSWorkgroupIntervalStart is like OSWorkgroupIntervalStart but returns an error instead of panicking if os_workgroup_interval_start is unavailable at run time.
func TryOSWorkgroupIntervalUpdate ¶
func TryOSWorkgroupIntervalUpdate(wg OSWorkgroupInterval, deadline uint64, data OSWorkgroupIntervalData) (int32, error)
TryOSWorkgroupIntervalUpdate is like OSWorkgroupIntervalUpdate but returns an error instead of panicking if os_workgroup_interval_update is unavailable at run time.
func TryOSWorkgroupJoin ¶
func TryOSWorkgroupJoin(wg OSWorkgroup, token_out OSWorkgroupJoinToken) (int32, error)
TryOSWorkgroupJoin is like OSWorkgroupJoin but returns an error instead of panicking if os_workgroup_join is unavailable at run time.
func TryOSWorkgroupLeave ¶
func TryOSWorkgroupLeave(wg OSWorkgroup, token OSWorkgroupJoinToken) error
TryOSWorkgroupLeave is like OSWorkgroupLeave but returns an error instead of panicking if os_workgroup_leave is unavailable at run time.
func TryOSWorkgroupMaxParallelThreads ¶
func TryOSWorkgroupMaxParallelThreads(wg OSWorkgroup, attr OSWorkgroupMptAttr) (int32, error)
TryOSWorkgroupMaxParallelThreads is like OSWorkgroupMaxParallelThreads but returns an error instead of panicking if os_workgroup_max_parallel_threads is unavailable at run time.
func TryOSWorkgroupSetWorkingArena ¶
func TryOSWorkgroupSetWorkingArena(wg OSWorkgroup, arena unsafe.Pointer, max_workers uint32, destructor OSWorkgroupWorkingArenaDestructor) (int32, error)
TryOSWorkgroupSetWorkingArena is like OSWorkgroupSetWorkingArena but returns an error instead of panicking if os_workgroup_set_working_arena is unavailable at run time.
func TryOSWorkgroupTestcancel ¶
func TryOSWorkgroupTestcancel(wg OSWorkgroup) (bool, error)
TryOSWorkgroupTestcancel is like OSWorkgroupTestcancel but returns an error instead of panicking if os_workgroup_testcancel is unavailable at run time.
Types ¶
type IOSLog ¶
type IOSLog interface {
objectivec.IObject
}
An interface definition for the OSLog class.
type IOSOSWorkgroup ¶ added in v0.6.17
type IOSOSWorkgroup interface {
IOSObject
}
An interface definition for the OSOSWorkgroup class.
See: https://developer.apple.com/documentation/os/OS_os_workgroup
type IOSOSWorkgroupInterval ¶ added in v0.6.17
type IOSOSWorkgroupInterval interface {
IOSOSWorkgroup
OS_os_workgroup_interval
}
An interface definition for the OSOSWorkgroupInterval class.
See: https://developer.apple.com/documentation/os/OS_os_workgroup_interval-c.class
type IOSOSWorkgroupParallel ¶ added in v0.6.17
type IOSOSWorkgroupParallel interface {
IOSOSWorkgroup
OS_os_workgroup_parallel
}
An interface definition for the OSOSWorkgroupParallel class.
See: https://developer.apple.com/documentation/os/OS_os_workgroup_parallel-c.class
type IOSObject ¶ added in v0.6.17
type IOSObject interface {
objectivec.IObject
}
An interface definition for the OSObject class.
type OSActivity ¶
type OSActivity = objectivec.Object
OSActivity is an object that represents an activity triggered by the user.
See: https://developer.apple.com/documentation/os/os_activity_t
func OSActivityFromID ¶ added in v0.6.17
func OSActivityFromID(id objc.ID) OSActivity
OSActivityFromID constructs a OSActivity from an objc.ID.
type OSActivityFlag ¶
type OSActivityFlag uint32
const ( // OSActivityFlagDefault: Creates a new activity and associates it as a child of any provided parent activity. OSActivityFlagDefault OSActivityFlag = 0 // OSActivityFlagDetached: Creates a new activity that is independent of any provided parent activity. OSActivityFlagDetached OSActivityFlag = 0x1 // OSActivityFlagIfNonePresent: Creates a new activity only if one is not already present. OSActivityFlagIfNonePresent OSActivityFlag = 0x2 )
func (OSActivityFlag) String ¶ added in v0.6.17
func (e OSActivityFlag) String() string
type OSActivityID ¶
type OSActivityID = uint64
OSActivityID is a number that uniquely identifies an activity.
See: https://developer.apple.com/documentation/os/os_activity_id_t
func OSActivityGetIdentifier ¶ added in v0.6.17
func OSActivityGetIdentifier(activity OSActivity, parent_id *OSActivityID) OSActivityID
OSActivityGetIdentifier retrieves the identifier for a given activity object.
It panics if os_activity_get_identifier is unavailable at run time; use TryOSActivityGetIdentifier to get an error instead.
See: https://developer.apple.com/documentation/os/os_activity_get_identifier
func TryOSActivityGetIdentifier ¶
func TryOSActivityGetIdentifier(activity OSActivity, parent_id *OSActivityID) (OSActivityID, error)
TryOSActivityGetIdentifier is like OSActivityGetIdentifier but returns an error instead of panicking if os_activity_get_identifier is unavailable at run time.
type OSActivityScopeState ¶
type OSActivityScopeState = uintptr
OSActivityScopeState is an opaque structure that contains a saved activity-execution context.
See: https://developer.apple.com/documentation/os/os_activity_scope_state_t
type OSActivityScopeStateS ¶ added in v0.6.17
type OSActivityScopeStateS struct {
Opaque [2]uint64 // Opaque data that the system uses to store the execution state.
}
OSActivityScopeStateS
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/os/os_activity_scope_state_s
type OSBlock ¶
type OSBlock = func()
OSBlock is a block that takes no arguments and returns no value.
See: https://developer.apple.com/documentation/os/os_block_t
type OSBreadcrumb
deprecated
type OSBreadcrumb = uint32
Deprecated: Deprecated since macOS 10.12. Breadcrumbs are deprecated, with no direct replacement. Use logging instead.
See: https://developer.apple.com/documentation/os/os_breadcrumb_t
type OSClockid ¶
type OSClockid uint32
const ( // OSClockMachAbsoluteTime: Units relative to Mach absolute time value. OSClockMachAbsoluteTime OSClockid = 32 )
type OSFunction ¶
OSFunction is a pointer to a function.
See: https://developer.apple.com/documentation/os/os_function_t
type OSLog ¶
type OSLog struct {
objectivec.Object
}
A container of related log messages.
Overview ¶
A log categorizes the messages you write and makes it easy to sort and filter them. Each log contains a subsystem and a category, which you define. A subsystem identifies a major functional area of your app, which you specify using reverse DNS notation, such as `com.Your_companyXCUIElementTypeYour_subsystem_name()`. A category segregates specific areas within a subsystem.
See: https://developer.apple.com/documentation/os/OSLog
func OSLogFromID ¶
OSLogFromID constructs a OSLog from an objc.ID.
A container of related log messages.
func (OSLog) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type OSLogClass ¶
type OSLogClass struct {
// contains filtered or unexported fields
}
func GetOSLogClass ¶
func GetOSLogClass() OSLogClass
GetOSLogClass returns the class object for OSLog.
func (OSLogClass) Alloc ¶
func (oc OSLogClass) Alloc() OSLog
Alloc allocates memory for a new instance of the class.
func (OSLogClass) Class ¶
func (oc OSLogClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type OSLogType ¶
type OSLogType uint8
See: https://developer.apple.com/documentation/os/OSLogType
const ( // OSLogTypeDebug: The debug log level. OSLogTypeDebug OSLogType = 0x2 // OSLogTypeDefault: The default log level. OSLogTypeDefault OSLogType = 0 // OSLogTypeError: The error log level. OSLogTypeError OSLogType = 0x10 // OSLogTypeFault: The fault log level. OSLogTypeFault OSLogType = 0x11 // OSLogTypeInfo: The informational log level. OSLogTypeInfo OSLogType = 0x1 )
type OSOSWorkgroup ¶ added in v0.6.17
type OSOSWorkgroup struct {
OSObject
}
See: https://developer.apple.com/documentation/os/OS_os_workgroup
func NewOSOSWorkgroup ¶ added in v0.6.17
func NewOSOSWorkgroup() OSOSWorkgroup
NewOSOSWorkgroup creates a new OSOSWorkgroup instance.
func NewOS_os_workgroup
deprecated
func NewOS_os_workgroup() OSOSWorkgroup
Deprecated: Use NewOSOSWorkgroup instead.
func OSOSWorkgroupFromID ¶ added in v0.6.17
func OSOSWorkgroupFromID(id objc.ID) OSOSWorkgroup
OSOSWorkgroupFromID constructs a OSOSWorkgroup from an objc.ID.
func OS_os_workgroupFromID ¶
func OS_os_workgroupFromID(id objc.ID) OSOSWorkgroup
OS_os_workgroupFromID is an alias for OSOSWorkgroupFromID for cross-framework compatibility.
func (OSOSWorkgroup) Autorelease ¶ added in v0.6.17
func (o OSOSWorkgroup) Autorelease() OSOSWorkgroup
Autorelease adds the receiver to the current autorelease pool.
func (OSOSWorkgroup) Init ¶ added in v0.6.17
func (o OSOSWorkgroup) Init() OSOSWorkgroup
Init initializes the instance.
type OSOSWorkgroupClass ¶ added in v0.6.17
type OSOSWorkgroupClass struct {
// contains filtered or unexported fields
}
func GetOSOSWorkgroupClass ¶ added in v0.6.17
func GetOSOSWorkgroupClass() OSOSWorkgroupClass
GetOSOSWorkgroupClass returns the class object for OS_os_workgroup.
func (OSOSWorkgroupClass) Alloc ¶ added in v0.6.17
func (oc OSOSWorkgroupClass) Alloc() OSOSWorkgroup
Alloc allocates memory for a new instance of the class.
func (OSOSWorkgroupClass) Class ¶ added in v0.6.17
func (oc OSOSWorkgroupClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type OSOSWorkgroupInterval ¶ added in v0.6.17
type OSOSWorkgroupInterval struct {
OSOSWorkgroup
}
See: https://developer.apple.com/documentation/os/OS_os_workgroup_interval-c.class
func NewOSOSWorkgroupInterval ¶ added in v0.6.17
func NewOSOSWorkgroupInterval() OSOSWorkgroupInterval
NewOSOSWorkgroupInterval creates a new OSOSWorkgroupInterval instance.
func NewOS_os_workgroup_interval
deprecated
func NewOS_os_workgroup_interval() OSOSWorkgroupInterval
Deprecated: Use NewOSOSWorkgroupInterval instead.
func OSOSWorkgroupIntervalFromID ¶ added in v0.6.17
func OSOSWorkgroupIntervalFromID(id objc.ID) OSOSWorkgroupInterval
OSOSWorkgroupIntervalFromID constructs a OSOSWorkgroupInterval from an objc.ID.
func OS_os_workgroup_intervalFromID ¶
func OS_os_workgroup_intervalFromID(id objc.ID) OSOSWorkgroupInterval
OS_os_workgroup_intervalFromID is an alias for OSOSWorkgroupIntervalFromID for cross-framework compatibility.
func (OSOSWorkgroupInterval) Autorelease ¶ added in v0.6.17
func (o OSOSWorkgroupInterval) Autorelease() OSOSWorkgroupInterval
Autorelease adds the receiver to the current autorelease pool.
func (OSOSWorkgroupInterval) Init ¶ added in v0.6.17
func (o OSOSWorkgroupInterval) Init() OSOSWorkgroupInterval
Init initializes the instance.
type OSOSWorkgroupIntervalClass ¶ added in v0.6.17
type OSOSWorkgroupIntervalClass struct {
// contains filtered or unexported fields
}
func GetOSOSWorkgroupIntervalClass ¶ added in v0.6.17
func GetOSOSWorkgroupIntervalClass() OSOSWorkgroupIntervalClass
GetOSOSWorkgroupIntervalClass returns the class object for OS_os_workgroup_interval.
func (OSOSWorkgroupIntervalClass) Alloc ¶ added in v0.6.17
func (oc OSOSWorkgroupIntervalClass) Alloc() OSOSWorkgroupInterval
Alloc allocates memory for a new instance of the class.
func (OSOSWorkgroupIntervalClass) Class ¶ added in v0.6.17
func (oc OSOSWorkgroupIntervalClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type OSOSWorkgroupParallel ¶ added in v0.6.17
type OSOSWorkgroupParallel struct {
OSOSWorkgroup
}
See: https://developer.apple.com/documentation/os/OS_os_workgroup_parallel-c.class
func NewOSOSWorkgroupParallel ¶ added in v0.6.17
func NewOSOSWorkgroupParallel() OSOSWorkgroupParallel
NewOSOSWorkgroupParallel creates a new OSOSWorkgroupParallel instance.
func NewOS_os_workgroup_parallel
deprecated
func NewOS_os_workgroup_parallel() OSOSWorkgroupParallel
Deprecated: Use NewOSOSWorkgroupParallel instead.
func OSOSWorkgroupParallelFromID ¶ added in v0.6.17
func OSOSWorkgroupParallelFromID(id objc.ID) OSOSWorkgroupParallel
OSOSWorkgroupParallelFromID constructs a OSOSWorkgroupParallel from an objc.ID.
func OS_os_workgroup_parallelFromID ¶
func OS_os_workgroup_parallelFromID(id objc.ID) OSOSWorkgroupParallel
OS_os_workgroup_parallelFromID is an alias for OSOSWorkgroupParallelFromID for cross-framework compatibility.
func (OSOSWorkgroupParallel) Autorelease ¶ added in v0.6.17
func (o OSOSWorkgroupParallel) Autorelease() OSOSWorkgroupParallel
Autorelease adds the receiver to the current autorelease pool.
func (OSOSWorkgroupParallel) Init ¶ added in v0.6.17
func (o OSOSWorkgroupParallel) Init() OSOSWorkgroupParallel
Init initializes the instance.
type OSOSWorkgroupParallelClass ¶ added in v0.6.17
type OSOSWorkgroupParallelClass struct {
// contains filtered or unexported fields
}
func GetOSOSWorkgroupParallelClass ¶ added in v0.6.17
func GetOSOSWorkgroupParallelClass() OSOSWorkgroupParallelClass
GetOSOSWorkgroupParallelClass returns the class object for OS_os_workgroup_parallel.
func (OSOSWorkgroupParallelClass) Alloc ¶ added in v0.6.17
func (oc OSOSWorkgroupParallelClass) Alloc() OSOSWorkgroupParallel
Alloc allocates memory for a new instance of the class.
func (OSOSWorkgroupParallelClass) Class ¶ added in v0.6.17
func (oc OSOSWorkgroupParallelClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type OSObject ¶ added in v0.6.17
type OSObject struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/os/OS_object
func NewOSObject ¶ added in v0.6.17
func NewOSObject() OSObject
NewOSObject creates a new OSObject instance.
func NewOS_object
deprecated
func NewOS_object() OSObject
Deprecated: Use NewOSObject instead.
func OSObjectFromID ¶ added in v0.6.17
OSObjectFromID constructs a OSObject from an objc.ID.
func OS_objectFromID ¶
OS_objectFromID is an alias for OSObjectFromID for cross-framework compatibility.
func (OSObject) Autorelease ¶ added in v0.6.17
Autorelease adds the receiver to the current autorelease pool.
type OSObjectClass ¶ added in v0.6.17
type OSObjectClass struct {
// contains filtered or unexported fields
}
func GetOSObjectClass ¶ added in v0.6.17
func GetOSObjectClass() OSObjectClass
GetOSObjectClass returns the class object for OS_object.
func (OSObjectClass) Alloc ¶ added in v0.6.17
func (oc OSObjectClass) Alloc() OSObject
Alloc allocates memory for a new instance of the class.
func (OSObjectClass) Class ¶ added in v0.6.17
func (oc OSObjectClass) Class() objc.Class
Class returns the underlying Objective-C class pointer.
type OSSecurityConfig ¶
type OSSecurityConfig uint64
const ( // OSSecurityConfigGuardObjects: # Discussion OSSecurityConfigGuardObjects OSSecurityConfig = 0x100 // OSSecurityConfigHardenedHeap: # Discussion OSSecurityConfigHardenedHeap OSSecurityConfig = 0x1 // OSSecurityConfigMte: # Discussion OSSecurityConfigMte OSSecurityConfig = 0x4 // OSSecurityConfigNone: # Discussion OSSecurityConfigNone OSSecurityConfig = 0 // OSSecurityConfigTpro: # Discussion OSSecurityConfigTpro OSSecurityConfig = 0x2 )
func OSSecurityConfigGet ¶ added in v0.6.17
func OSSecurityConfigGet() OSSecurityConfig
OSSecurityConfigGet.
It panics if os_security_config_get is unavailable at run time; use TryOSSecurityConfigGet to get an error instead.
See: https://developer.apple.com/documentation/os/os_security_config_get
func TryOSSecurityConfigGet ¶
func TryOSSecurityConfigGet() (OSSecurityConfig, error)
TryOSSecurityConfigGet is like OSSecurityConfigGet but returns an error instead of panicking if os_security_config_get is unavailable at run time.
func (OSSecurityConfig) String ¶ added in v0.6.17
func (e OSSecurityConfig) String() string
type OSSignpostID ¶
type OSSignpostID = uint64
OSSignpostID is an identifier you use to distinguish between signposts that have the same name and destination log.
See: https://developer.apple.com/documentation/os/os_signpost_id_t
func OSSignpostIDGenerate ¶ added in v0.6.17
func OSSignpostIDGenerate(log kernel.Os_log_t) OSSignpostID
OSSignpostIDGenerate creates a signpost identifier that’s unique among signposts logged to a specified log.
It panics if os_signpost_id_generate is unavailable at run time; use TryOSSignpostIDGenerate to get an error instead.
See: https://developer.apple.com/documentation/os/os_signpost_id_generate
func OSSignpostIDMakeWithPointer ¶ added in v0.6.17
func OSSignpostIDMakeWithPointer(log kernel.Os_log_t, ptr unsafe.Pointer) OSSignpostID
OSSignpostIDMakeWithPointer creates a signpost identifier that’s unique among signposts logging to the specified log, using a pointer value to generate the unique value.
It panics if os_signpost_id_make_with_pointer is unavailable at run time; use TryOSSignpostIDMakeWithPointer to get an error instead.
See: https://developer.apple.com/documentation/os/os_signpost_id_make_with_pointer
func TryOSSignpostIDGenerate ¶
func TryOSSignpostIDGenerate(log kernel.Os_log_t) (OSSignpostID, error)
TryOSSignpostIDGenerate is like OSSignpostIDGenerate but returns an error instead of panicking if os_signpost_id_generate is unavailable at run time.
func TryOSSignpostIDMakeWithPointer ¶
TryOSSignpostIDMakeWithPointer is like OSSignpostIDMakeWithPointer but returns an error instead of panicking if os_signpost_id_make_with_pointer is unavailable at run time.
type OSSignpostType ¶
type OSSignpostType uint8
See: https://developer.apple.com/documentation/os/OSSignpostType
const ( // OSSignpostEvent: A signpost that marks an event in your code. OSSignpostEvent OSSignpostType = 0 // OSSignpostIntervalBegin: A signpost that marks the start of a time interval of interest in your code. OSSignpostIntervalBegin OSSignpostType = 0x1 // OSSignpostIntervalEnd: A signpost that marks the end of a time interval of interest in your code. OSSignpostIntervalEnd OSSignpostType = 0x2 )
func (OSSignpostType) String ¶ added in v0.6.17
func (e OSSignpostType) String() string
type OSSyncWaitOnAddressFlags ¶
type OSSyncWaitOnAddressFlags uint32
const ( // OSSyncWaitOnAddressNone: Default behavior for futex functions that block a thread. OSSyncWaitOnAddressNone OSSyncWaitOnAddressFlags = 0 OSSyncWaitOnAddressShared OSSyncWaitOnAddressFlags = 0x1 )
func (OSSyncWaitOnAddressFlags) String ¶ added in v0.6.17
func (e OSSyncWaitOnAddressFlags) String() string
type OSSyncWakeByAddressFlags ¶
type OSSyncWakeByAddressFlags uint32
const ( // OSSyncWakeByAddressNone: The default behavior for futex functions that wake a thread. OSSyncWakeByAddressNone OSSyncWakeByAddressFlags = 0 OSSyncWakeByAddressShared OSSyncWakeByAddressFlags = 0x1 )
func (OSSyncWakeByAddressFlags) String ¶ added in v0.6.17
func (e OSSyncWakeByAddressFlags) String() string
type OSTracePayload ¶
type OSTracePayload = func(objectivec.Object)
OSTracePayload is a pointer to a trace payload.
See: https://developer.apple.com/documentation/os/os_trace_payload_t
type OSTracePayloadObject ¶
OSTracePayloadObject is a pointer to a trace payload object.
See: https://developer.apple.com/documentation/os/os_trace_payload_object_t
type OSUnfairLock ¶
type OSUnfairLock = [4]byte
OSUnfairLock is a structure that contains the data for an unfair lock.
See: https://developer.apple.com/documentation/os/os_unfair_lock
type OSUnfairLockFlags ¶
type OSUnfairLockFlags uint32
const ( OSUnfairLockFlagAdaptiveSpin OSUnfairLockFlags = 0x40000 OSUnfairLockFlagNone OSUnfairLockFlags = 0 )
func (OSUnfairLockFlags) String ¶ added in v0.6.17
func (e OSUnfairLockFlags) String() string
type OSUnfairLockS ¶ added in v0.6.17
type OSUnfairLockS struct {
// contains filtered or unexported fields
}
OSUnfairLockS
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/os/os_unfair_lock_s
type OSWorkgroup ¶
type OSWorkgroup = OSOSWorkgroup
OSWorkgroup is an opaque object representing a default workgroup in the current process.
See: https://developer.apple.com/documentation/os/os_workgroup_t
func OSWorkgroupCreateWithPort ¶ added in v0.6.17
func OSWorkgroupCreateWithPort(name string, mach_port uint32) OSWorkgroup
OSWorkgroupCreateWithPort creates a new workgroup that is bound to the workgroup with the specified Mach port.
It panics if os_workgroup_create_with_port is unavailable at run time; use TryOSWorkgroupCreateWithPort to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_create_with_port
func OSWorkgroupCreateWithWorkgroup ¶ added in v0.6.17
func OSWorkgroupCreateWithWorkgroup(name string, wg OSWorkgroup) OSWorkgroup
OSWorkgroupCreateWithWorkgroup create a new workgroup that is bound to the specified workgroup.
It panics if os_workgroup_create_with_workgroup is unavailable at run time; use TryOSWorkgroupCreateWithWorkgroup to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_create_with_workgroup
func TryOSWorkgroupCreateWithPort ¶
func TryOSWorkgroupCreateWithPort(name string, mach_port uint32) (OSWorkgroup, error)
TryOSWorkgroupCreateWithPort is like OSWorkgroupCreateWithPort but returns an error instead of panicking if os_workgroup_create_with_port is unavailable at run time.
func TryOSWorkgroupCreateWithWorkgroup ¶
func TryOSWorkgroupCreateWithWorkgroup(name string, wg OSWorkgroup) (OSWorkgroup, error)
TryOSWorkgroupCreateWithWorkgroup is like OSWorkgroupCreateWithWorkgroup but returns an error instead of panicking if os_workgroup_create_with_workgroup is unavailable at run time.
type OSWorkgroupAttr ¶
type OSWorkgroupAttr = uintptr
OSWorkgroupAttr is an opaque structure for storing workgroup-related attributes.
See: https://developer.apple.com/documentation/os/os_workgroup_attr_t
type OSWorkgroupAttrOpaqueS ¶ added in v0.6.17
OSWorkgroupAttrOpaqueS
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/os/os_workgroup_attr_opaque_s
type OSWorkgroupAttrS ¶
type OSWorkgroupAttrS = Os_workgroup_attr_opaque_s
See: https://developer.apple.com/documentation/os/os_workgroup_attr_s
type OSWorkgroupIndex ¶
type OSWorkgroupIndex = uint32
OSWorkgroupIndex is a unique index that the workgroup assigns to its joined threads.
See: https://developer.apple.com/documentation/os/os_workgroup_index
type OSWorkgroupInterval ¶
OSWorkgroupInterval is a workgroup object that supports the scheduling of threads on a repeating cadence.
See: https://developer.apple.com/documentation/os/os_workgroup_interval_t
type OSWorkgroupIntervalData ¶
type OSWorkgroupIntervalData = uintptr
OSWorkgroupIntervalData is an opaque structure that contains additional configuration data for the interval workgroup.
See: https://developer.apple.com/documentation/os/os_workgroup_interval_data_t
type OSWorkgroupIntervalDataOpaqueS ¶ added in v0.6.17
OSWorkgroupIntervalDataOpaqueS
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/os/os_workgroup_interval_data_opaque_s
type OSWorkgroupIntervalDataS ¶
type OSWorkgroupIntervalDataS = Os_workgroup_interval_data_opaque_s
See: https://developer.apple.com/documentation/os/os_workgroup_interval_data_s
type OSWorkgroupJoinToken ¶
type OSWorkgroupJoinToken = uintptr
OSWorkgroupJoinToken is an opaque token that represents a connection between a thread and a workgroup.
See: https://developer.apple.com/documentation/os/os_workgroup_join_token_t
type OSWorkgroupJoinTokenOpaqueS ¶ added in v0.6.17
OSWorkgroupJoinTokenOpaqueS
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/os/os_workgroup_join_token_opaque_s
type OSWorkgroupJoinTokenS ¶
type OSWorkgroupJoinTokenS = Os_workgroup_join_token_opaque_s
See: https://developer.apple.com/documentation/os/os_workgroup_join_token_s
type OSWorkgroupMptAttr ¶
type OSWorkgroupMptAttr = uintptr
OSWorkgroupMptAttr is an opaque structure containing attributes related to a request for the maximum number of parallel threads.
See: https://developer.apple.com/documentation/os/os_workgroup_mpt_attr_t
type OSWorkgroupMptAttrS ¶
See: https://developer.apple.com/documentation/os/os_workgroup_mpt_attr_s OSWorkgroupMptAttrS is an unresolved C aggregate typedef.
type OSWorkgroupParallel ¶
OSWorkgroupParallel is a workgroup object that supports the scheduling of threads that work in parallel to complete a task.
See: https://developer.apple.com/documentation/os/os_workgroup_parallel_t
func OSWorkgroupParallelCreate ¶ added in v0.6.17
func OSWorkgroupParallelCreate(name string, attr OSWorkgroupAttr) OSWorkgroupParallel
OSWorkgroupParallelCreate creates a new workgroup that manges threads working on a single task in parallel.
It panics if os_workgroup_parallel_create is unavailable at run time; use TryOSWorkgroupParallelCreate to get an error instead.
See: https://developer.apple.com/documentation/os/os_workgroup_parallel_create
func TryOSWorkgroupParallelCreate ¶
func TryOSWorkgroupParallelCreate(name string, attr OSWorkgroupAttr) (OSWorkgroupParallel, error)
TryOSWorkgroupParallelCreate is like OSWorkgroupParallelCreate but returns an error instead of panicking if os_workgroup_parallel_create is unavailable at run time.
type OSWorkgroupWorkingArenaDestructor ¶
OSWorkgroupWorkingArenaDestructor is a function that deallocates a workgroup’s currently assigned shared memory.
See: https://developer.apple.com/documentation/os/os_workgroup_working_arena_destructor_t
type OS_os_activity ¶
type OS_os_activity interface {
objectivec.IObject
}
OS_os_activity protocol.
See: https://developer.apple.com/documentation/os/OS_os_activity
type OS_os_activityObject ¶
type OS_os_activityObject struct {
objectivec.Object
}
OS_os_activityObject wraps an existing Objective-C object that conforms to the OS_os_activity protocol.
func OS_os_activityObjectFromID ¶
func OS_os_activityObjectFromID(id objc.ID) OS_os_activityObject
OS_os_activityObjectFromID constructs a OS_os_activityObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_os_activityObject) BaseObject ¶
func (o OS_os_activityObject) BaseObject() objectivec.Object
type OS_os_logObject ¶
type OS_os_logObject struct {
objectivec.Object
}
OS_os_logObject wraps an existing Objective-C object that conforms to the OS_os_log protocol.
func OS_os_logObjectFromID ¶
func OS_os_logObjectFromID(id objc.ID) OS_os_logObject
OS_os_logObjectFromID constructs a OS_os_logObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_os_logObject) BaseObject ¶
func (o OS_os_logObject) BaseObject() objectivec.Object
type OS_os_workgroup_interval ¶
type OS_os_workgroup_interval interface {
objectivec.IObject
}
OS_os_workgroup_interval protocol.
See: https://developer.apple.com/documentation/os/OS_os_workgroup_interval-c.protocol
type OS_os_workgroup_intervalObject ¶ added in v0.6.17
type OS_os_workgroup_intervalObject struct {
objectivec.Object
}
OS_os_workgroup_intervalObject wraps an existing Objective-C object that conforms to the OS_os_workgroup_interval protocol.
func OS_os_workgroup_intervalObjectFromID ¶ added in v0.6.17
func OS_os_workgroup_intervalObjectFromID(id objc.ID) OS_os_workgroup_intervalObject
OS_os_workgroup_intervalObjectFromID constructs a OS_os_workgroup_intervalObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_os_workgroup_intervalObject) BaseObject ¶ added in v0.6.17
func (o OS_os_workgroup_intervalObject) BaseObject() objectivec.Object
type OS_os_workgroup_parallel ¶
type OS_os_workgroup_parallel interface {
objectivec.IObject
}
OS_os_workgroup_parallel protocol.
See: https://developer.apple.com/documentation/os/OS_os_workgroup_parallel-c.protocol
type OS_os_workgroup_parallelObject ¶ added in v0.6.17
type OS_os_workgroup_parallelObject struct {
objectivec.Object
}
OS_os_workgroup_parallelObject wraps an existing Objective-C object that conforms to the OS_os_workgroup_parallel protocol.
func OS_os_workgroup_parallelObjectFromID ¶ added in v0.6.17
func OS_os_workgroup_parallelObjectFromID(id objc.ID) OS_os_workgroup_parallelObject
OS_os_workgroup_parallelObjectFromID constructs a OS_os_workgroup_parallelObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_os_workgroup_parallelObject) BaseObject ¶ added in v0.6.17
func (o OS_os_workgroup_parallelObject) BaseObject() objectivec.Object
type Os_activity_flag_t ¶
type Os_activity_flag_t = OSActivityFlag
Os_activity_flag_t is a C-name alias for OSActivityFlag.
type Os_activity_id_t ¶
type Os_activity_id_t = OSActivityID
Os_activity_id_t is a C-name alias for OSActivityID.
type Os_activity_scope_state_s ¶
type Os_activity_scope_state_s = OSActivityScopeStateS
Os_activity_scope_state_s is a type alias for OSActivityScopeStateS for use in objc.Send[T] calls.
type Os_activity_scope_state_t ¶
type Os_activity_scope_state_t = OSActivityScopeState
Os_activity_scope_state_t is a C-name alias for OSActivityScopeState.
type Os_activity_t ¶
type Os_activity_t = OSActivity
Os_activity_t is a C-name alias for OSActivity.
type Os_breadcrumb_t ¶
type Os_breadcrumb_t = OSBreadcrumb
Os_breadcrumb_t is a C-name alias for OSBreadcrumb.
type Os_function_t ¶
type Os_function_t = OSFunction
Os_function_t is a C-name alias for OSFunction.
type Os_security_config_t ¶
type Os_security_config_t = OSSecurityConfig
Os_security_config_t is a C-name alias for OSSecurityConfig.
type Os_signpost_id_t ¶
type Os_signpost_id_t = OSSignpostID
Os_signpost_id_t is a C-name alias for OSSignpostID.
type Os_signpost_type_t ¶
type Os_signpost_type_t = OSSignpostType
Os_signpost_type_t is a C-name alias for OSSignpostType.
type Os_sync_wait_on_address_flags_t ¶
type Os_sync_wait_on_address_flags_t = OSSyncWaitOnAddressFlags
Os_sync_wait_on_address_flags_t is a C-name alias for OSSyncWaitOnAddressFlags.
type Os_sync_wake_by_address_flags_t ¶
type Os_sync_wake_by_address_flags_t = OSSyncWakeByAddressFlags
Os_sync_wake_by_address_flags_t is a C-name alias for OSSyncWakeByAddressFlags.
type Os_trace_payload_object_t ¶
type Os_trace_payload_object_t = OSTracePayloadObject
Os_trace_payload_object_t is a C-name alias for OSTracePayloadObject.
type Os_trace_payload_t ¶
type Os_trace_payload_t = OSTracePayload
Os_trace_payload_t is a C-name alias for OSTracePayload.
type Os_unfair_lock ¶ added in v0.6.17
type Os_unfair_lock = OSUnfairLock
Os_unfair_lock is a C-name alias for OSUnfairLock.
type Os_unfair_lock_flags_t ¶
type Os_unfair_lock_flags_t = OSUnfairLockFlags
Os_unfair_lock_flags_t is a C-name alias for OSUnfairLockFlags.
type Os_unfair_lock_s ¶ added in v0.6.17
type Os_unfair_lock_s = OSUnfairLockS
Os_unfair_lock_s is a type alias for OSUnfairLockS for use in objc.Send[T] calls.
type Os_workgroup_attr_opaque_s ¶
type Os_workgroup_attr_opaque_s = OSWorkgroupAttrOpaqueS
Os_workgroup_attr_opaque_s is a type alias for OSWorkgroupAttrOpaqueS for use in objc.Send[T] calls.
type Os_workgroup_attr_s ¶
type Os_workgroup_attr_s = OSWorkgroupAttrS
Os_workgroup_attr_s is a C-name alias for OSWorkgroupAttrS.
type Os_workgroup_attr_t ¶
type Os_workgroup_attr_t = OSWorkgroupAttr
Os_workgroup_attr_t is a C-name alias for OSWorkgroupAttr.
type Os_workgroup_index ¶
type Os_workgroup_index = OSWorkgroupIndex
Os_workgroup_index is a C-name alias for OSWorkgroupIndex.
type Os_workgroup_interval_data_opaque_s ¶
type Os_workgroup_interval_data_opaque_s = OSWorkgroupIntervalDataOpaqueS
Os_workgroup_interval_data_opaque_s is a type alias for OSWorkgroupIntervalDataOpaqueS for use in objc.Send[T] calls.
type Os_workgroup_interval_data_s ¶
type Os_workgroup_interval_data_s = OSWorkgroupIntervalDataS
Os_workgroup_interval_data_s is a C-name alias for OSWorkgroupIntervalDataS.
type Os_workgroup_interval_data_t ¶
type Os_workgroup_interval_data_t = OSWorkgroupIntervalData
Os_workgroup_interval_data_t is a C-name alias for OSWorkgroupIntervalData.
type Os_workgroup_interval_t ¶
type Os_workgroup_interval_t = OSWorkgroupInterval
Os_workgroup_interval_t is a C-name alias for OSWorkgroupInterval.
type Os_workgroup_join_token_opaque_s ¶
type Os_workgroup_join_token_opaque_s = OSWorkgroupJoinTokenOpaqueS
Os_workgroup_join_token_opaque_s is a type alias for OSWorkgroupJoinTokenOpaqueS for use in objc.Send[T] calls.
type Os_workgroup_join_token_s ¶
type Os_workgroup_join_token_s = OSWorkgroupJoinTokenS
Os_workgroup_join_token_s is a C-name alias for OSWorkgroupJoinTokenS.
type Os_workgroup_join_token_t ¶
type Os_workgroup_join_token_t = OSWorkgroupJoinToken
Os_workgroup_join_token_t is a C-name alias for OSWorkgroupJoinToken.
type Os_workgroup_mpt_attr_s ¶
type Os_workgroup_mpt_attr_s = OSWorkgroupMptAttrS
Os_workgroup_mpt_attr_s is a C-name alias for OSWorkgroupMptAttrS.
type Os_workgroup_mpt_attr_t ¶
type Os_workgroup_mpt_attr_t = OSWorkgroupMptAttr
Os_workgroup_mpt_attr_t is a C-name alias for OSWorkgroupMptAttr.
type Os_workgroup_parallel_t ¶
type Os_workgroup_parallel_t = OSWorkgroupParallel
Os_workgroup_parallel_t is a C-name alias for OSWorkgroupParallel.
type Os_workgroup_t ¶
type Os_workgroup_t = OSWorkgroup
Os_workgroup_t is a C-name alias for OSWorkgroup.
type Os_workgroup_working_arena_destructor_t ¶
type Os_workgroup_working_arena_destructor_t = OSWorkgroupWorkingArenaDestructor
Os_workgroup_working_arena_destructor_t is a C-name alias for OSWorkgroupWorkingArenaDestructor.
Source Files
¶
- blocks.gen.go
- doc.gen.go
- enums.gen.go
- functions.gen.go
- generate.go
- os_log.gen.go
- os_object.gen.go
- os_os_activity_protocol.gen.go
- os_os_log_protocol.gen.go
- os_os_workgroup.gen.go
- os_os_workgroup_interval.gen.go
- os_os_workgroup_interval_protocol.gen.go
- os_os_workgroup_parallel.gen.go
- os_os_workgroup_parallel_protocol.gen.go
- typedefs.gen.go
- types.gen.go
- undefined_types.gen.go