diff options
author | Ayke van Laethem <[email protected]> | 2021-05-08 20:05:34 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-05-08 23:08:12 +0200 |
commit | 8cd2a462b9190c6615625ce60db8b6b38540c544 (patch) | |
tree | 7ce3acc5af8c35f1a37bd8af6bc73f774d531f8f /src/runtime/runtime_unix.go | |
parent | 25b045d0a72d33b934db7279fe516ef16060a771 (diff) | |
download | tinygo-8cd2a462b9190c6615625ce60db8b6b38540c544.tar.gz tinygo-8cd2a462b9190c6615625ce60db8b6b38540c544.zip |
runtime: remove the asyncScheduler constant
There is no reason to specialize this per chip as it is only ever used
for JavaScript. Not only that, it is causing confusion and is yet
another quirk to learn when porting the runtime to a new
microcontroller.
Diffstat (limited to 'src/runtime/runtime_unix.go')
-rw-r--r-- | src/runtime/runtime_unix.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/runtime_unix.go b/src/runtime/runtime_unix.go index 584f03383..c185c4ab7 100644 --- a/src/runtime/runtime_unix.go +++ b/src/runtime/runtime_unix.go @@ -123,8 +123,6 @@ func putchar(c byte) { _putchar(int(c)) } -const asyncScheduler = false - func ticksToNanoseconds(ticks timeUnit) int64 { // The OS API works in nanoseconds so no conversion necessary. return int64(ticks) |