Files
tinygo/compiler
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
..
2024-05-14 20:44:48 +02:00
2024-11-20 14:07:55 +01:00
2024-08-22 07:59:37 +02:00
2021-09-27 15:47:12 +02:00
2023-10-01 18:32:15 +02:00
2023-10-01 18:32:15 +02:00
2024-05-24 19:12:26 +02:00
2024-11-20 14:07:55 +01:00