Files
tinygo/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
..
2019-09-20 10:35:49 +02:00
2019-09-20 10:35:49 +02:00
2023-04-11 18:54:05 -07:00
2023-03-24 09:22:38 -07:00
2023-03-24 09:22:38 -07:00
2021-04-09 18:33:48 +02:00
2024-05-13 16:49:18 +02:00
2021-04-09 18:33:48 +02:00
2021-04-09 18:33:48 +02:00
2024-12-01 11:12:00 +01:00
2024-11-30 11:55:22 +01:00
2024-11-30 11:55:22 +01:00
2024-10-23 12:25:27 +01:00
2024-10-23 12:25:27 +01:00
2020-10-23 21:37:35 +02:00
2020-10-23 21:37:35 +02:00
2023-01-17 08:38:54 +01:00
2019-10-13 23:07:47 +02:00
2019-10-13 23:07:47 +02:00
2023-08-04 11:59:11 +02:00
2024-10-19 16:00:45 +01:00
2024-10-19 16:00:45 +01:00
2024-10-19 16:00:45 +01:00
2020-05-12 01:17:27 +02:00