-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
markused: fix for thread waiter usage #24580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Connected to Huly®: V_0.6-22945 |
The The problem is that spawn does not use v code that the builder could use to detect dependencies. If modifying if table.gostmts > 0 {
all_fn_root_names << 'free'
} Using PS In |
Ideally, it should keep track of all of the used functionality, that the backends would then generate calls for, including free/malloc, so that compiling a .v file with the C backend, containing just |
I agree, that using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work.
If I recall correctly the fix in this PR will also inject free regardless, it also adds more noise to the table. The issue is that the spawn_and_go.v does not use actual v code for it to properly detect dependencies. Maybe an alternate version of |
Fix #24577