[riot-notifications] [RIOT-OS/RIOT] cpu/native: fix thread_yield_higher() with IRQs disabled (#16754)

benpicco notifications at github.com
Wed Aug 18 14:39:39 CEST 2021


@benpicco commented on this pull request.



> @@ -1,3 +1,5 @@
 include ../Makefile.tests_common
 
+BOARD_WHITELIST := native

#### esp8266

```
/home/benpicco/dev/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyUSB3" -b "115200" --no-reconnect --noprefix --no-repeat-command-on-empty-line 
Twisted not available, please install it if you want to use pyterm's JSON capabilities
Connect to serial port /dev/ttyUSB3
Welcome to pyterm!
Type '/exit' to exit.
READY
s
START
main(): This is RIOT! (Version: 2021.10-devel-380-ge4b3a)
1. post yield
2. second thread scheduled
3. post irq enable
```

works

#### esp32

```
/home/benpicco/dev/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyUSB3" -b "115200" --no-reconnect --noprefix --no-repeat-command-on-empty-line 
Twisted not available, please install it if you want to use pyterm's JSON capabilities
Connect to serial port /dev/ttyUSB3
Welcome to pyterm!
Type '/exit' to exit.
READY
s
START
main(): This is RIOT! (Version: 2021.10-devel-380-ge4b3a)
1. post yield
2. second thread scheduled
3. post irq enable
```

works

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16754#discussion_r691196557
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210818/4539a8b5/attachment-0001.htm>


More information about the notifications mailing list