Fixup location of declaration of new ivars

This commit is contained in:
rfm 2025-01-27 11:13:18 +00:00
parent 1e51260895
commit cedccc9f09
2 changed files with 2 additions and 3 deletions

View file

@ -71,14 +71,11 @@ GS_EXPORT_CLASS
BOOL _cancelled; BOOL _cancelled;
BOOL _active; BOOL _active;
BOOL _finished; BOOL _finished;
BOOL _targetIsBlock;
NSHandler *_exception_handler; // Not retained. NSHandler *_exception_handler; // Not retained.
NSMutableDictionary *_thread_dictionary; NSMutableDictionary *_thread_dictionary;
struct autorelease_thread_vars _autorelease_vars; struct autorelease_thread_vars _autorelease_vars;
id _gcontext; id _gcontext;
void *_runLoopInfo; // Per-thread runloop related info. void *_runLoopInfo; // Per-thread runloop related info.
// Used to store a GSICUStringCollatorCache object for this thread.
id _stringCollatorCache;
#endif #endif
#if GS_NONFRAGILE #if GS_NONFRAGILE
# if defined(GS_NSThread_IVARS) # if defined(GS_NSThread_IVARS)

View file

@ -96,6 +96,8 @@ typedef struct {
#define EXPOSE_NSThread_IVARS 1 #define EXPOSE_NSThread_IVARS 1
#define GS_NSThread_IVARS \ #define GS_NSThread_IVARS \
id _stringCollatorCache; \
BOOL _targetIsBlock; \
gs_thread_id_t _pthreadID; \ gs_thread_id_t _pthreadID; \
NSUInteger _threadID; \ NSUInteger _threadID; \
GSLockInfo _lockInfo GSLockInfo _lockInfo