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 _active;
BOOL _finished;
BOOL _targetIsBlock;
NSHandler *_exception_handler; // Not retained.
NSMutableDictionary *_thread_dictionary;
struct autorelease_thread_vars _autorelease_vars;
id _gcontext;
void *_runLoopInfo; // Per-thread runloop related info.
// Used to store a GSICUStringCollatorCache object for this thread.
id _stringCollatorCache;
#endif
#if GS_NONFRAGILE
# if defined(GS_NSThread_IVARS)

View file

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