Skip to content

Language: add tlocal keyword for thread local storage class#483

Open
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:tlocal
Open

Language: add tlocal keyword for thread local storage class#483
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:tlocal

Conversation

@chqrlie
Copy link
Copy Markdown
Contributor

@chqrlie chqrlie commented Mar 31, 2026

  • allow local and global variables with thread local storage class
  • most local variables in the compiler should be made tlocal.

@bvdberg
Copy link
Copy Markdown
Member

bvdberg commented Apr 1, 2026

maybe add a test case so show what happens if used on a global var?

@chqrlie chqrlie force-pushed the tlocal branch 4 times, most recently from ab4b11d to 6143463 Compare April 5, 2026 17:23
* allow local and global variables with thread local storage class
* most `local` variables in the compiler should be made `tlocal`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants