Merge pull request #325 from LudwigOrtmann/native_no-uart_syscall_barrier
add lpm syscall barrier for native w/out UART
This commit is contained in:
commit
a707559cd2
@ -71,7 +71,9 @@ void _native_lpm_sleep()
|
|||||||
|
|
||||||
/* otherwise select was interrupted because of a signal, continue below */
|
/* otherwise select was interrupted because of a signal, continue below */
|
||||||
#else
|
#else
|
||||||
|
_native_in_syscall++; // no switching here
|
||||||
pause();
|
pause();
|
||||||
|
_native_in_syscall--;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (_native_sigpend > 0) {
|
if (_native_sigpend > 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user