File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ func _tlsGet() -> UnsafeMutableRawPointer?
1818@_silgen_name ( " _swift_openobservation_tls_set " )
1919func _tlsSet( _ value: UnsafeMutableRawPointer ? )
2020
21- struct _ThreadLocal {
22- static var value : UnsafeMutableRawPointer ? {
21+ @_spi ( OpenSwiftUI)
22+ public struct _ThreadLocal {
23+ public static var value : UnsafeMutableRawPointer ? {
2324 get {
2425 return _tlsGet ( )
2526 }
@@ -46,8 +47,9 @@ import Bionic
4647#error("Unsupported platform")
4748#endif
4849
49- struct _ThreadLocal {
50- static var value : UnsafeMutableRawPointer ? {
50+ @_spi ( OpenSwiftUI)
51+ public struct _ThreadLocal {
52+ public static var value : UnsafeMutableRawPointer ? {
5153 get {
5254 #if canImport(Darwin)
5355 return pthread_getspecific ( key. key)
You can’t perform that action at this time.
0 commit comments