Files
tinygo/compiler/testdata
Ayke van Laethem 26c36d0a2e runtime: lock output in print/println
This ensures that calls to print/println happening in different threads
are not interleaved. It's a task.PMutex, so this should only change
things when threading is used.

This matches the Go compiler, which does the same thing:
https://godbolt.org/z/na5KzE7en

The locks are not recursive, which means that we need to be careful to
not call `print` or `println` inside a runtime.print* implementation,
inside putchar (recursively), and inside signal handlers. Making them
recursive might be useful to do in the future, but it's not really
necessary.
2024-12-01 11:12:00 +01:00
..
2023-09-18 21:58:02 +02:00
2023-09-18 21:58:02 +02:00
2021-04-12 12:07:42 +02:00
2023-09-18 21:58:02 +02:00
2022-01-19 14:42:02 -05:00
2023-09-18 21:58:02 +02:00
2023-09-18 21:58:02 +02:00
2023-09-18 21:58:02 +02:00
2024-11-20 14:07:55 +01:00
2023-09-18 21:58:02 +02:00
2024-05-24 19:12:26 +02:00