File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1765,7 +1765,7 @@ namespace SpecialPointerAuthDiscriminators {
1765
1765
const uint16_t AsyncContextParent = 0xbda2 ; // = 48546
1766
1766
const uint16_t AsyncContextResume = 0xd707 ; // = 55047
1767
1767
const uint16_t AsyncContextYield = 0xe207 ; // = 57863
1768
- const uint16_t CancellationNotificationFunction = 0x1933 ; // = 6451
1768
+ const uint16_t CancellationNotificationFunction = 0x2E3F ; // = 11839 (TaskPriority, TaskPriority) -> Void
1769
1769
const uint16_t EscalationNotificationFunction = 0x7861 ; // = 30817
1770
1770
const uint16_t AsyncThinNullaryFunction = 0x0f08 ; // = 3848
1771
1771
const uint16_t AsyncFutureFunction = 0x720f ; // = 29199
Original file line number Diff line number Diff line change @@ -1816,8 +1816,9 @@ swift_task_addPriorityEscalationHandlerImpl(
1816
1816
void *context) {
1817
1817
void *allocation =
1818
1818
swift_task_alloc (sizeof (EscalationNotificationStatusRecord));
1819
+ auto unsigned_handler = swift_auth_code (handler, 11839 );
1819
1820
auto *record = ::new (allocation)
1820
- EscalationNotificationStatusRecord (handler , context);
1821
+ EscalationNotificationStatusRecord (unsigned_handler , context);
1821
1822
1822
1823
addStatusRecordToSelf (record, [&](ActiveTaskStatus oldStatus, ActiveTaskStatus& newStatus) {
1823
1824
return true ;
You can’t perform that action at this time.
0 commit comments