Browse Source

add lpm syscall barrier for native w/out UART

dev/timer
Ludwig Ortmann 9 years ago
parent
commit
01e30016d6
  1. 2
      cpu/native/lpm_cpu.c

2
cpu/native/lpm_cpu.c

@ -71,7 +71,9 @@ void _native_lpm_sleep()
/* otherwise select was interrupted because of a signal, continue below */
#else
_native_in_syscall++; // no switching here
pause();
_native_in_syscall--;
#endif
if (_native_sigpend > 0) {

Loading…
Cancel
Save