remove _Thread_local because plenty other things don't have it

This commit is contained in:
dzaima 2021-11-07 19:00:49 +02:00
parent ae07fd2312
commit fde8f89354
2 changed files with 8 additions and 8 deletions

View File

@ -256,7 +256,7 @@ static inline void onFree(Value* x) {
// x->refc = 0x61616161;
}
extern _Thread_local i64 comp_currEnvPos;
extern _Thread_local B comp_currPath;
extern _Thread_local B comp_currArgs;
extern _Thread_local B comp_currSrc;
extern i64 comp_currEnvPos;
extern B comp_currPath;
extern B comp_currArgs;
extern B comp_currSrc;

View File

@ -96,10 +96,10 @@ B rtWrap_wrap(B x); // consumes
void rtWrap_print(void);
_Thread_local i64 comp_currEnvPos;
_Thread_local B comp_currPath;
_Thread_local B comp_currArgs;
_Thread_local B comp_currSrc;
i64 comp_currEnvPos;
B comp_currPath;
B comp_currArgs;
B comp_currSrc;
B rt_merge, rt_undo, rt_select, rt_slash, rt_join, rt_ud, rt_pick,rt_take, rt_drop,
rt_group, rt_under, rt_reverse, rt_indexOf, rt_count, rt_memberOf, rt_find, rt_cell;