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