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:
LudwigOrtmann 2013-11-13 14:47:34 -08:00
commit a707559cd2

View File

@ -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) {