demo: make the GUI preemptive-safe.
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 19 Mar 2010 14:30:08 +0000 (14:30 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 19 Mar 2010 14:30:08 +0000 (14:30 +0000)
commit31347cddceafb4e9775d9f51b268091409adee72
treef3a208e5e03232eccaae619526d1ab98fb4d138e
parentd63d14e5bcf9973047715fe87bf6aaeecb65dd4a
demo: make the GUI preemptive-safe.

Protect all the GUI operations, setting them as atomic, in order to make
them work correctly also with the preemptible kernel.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3248 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/frame.h
bertos/drv/kbd.c
bertos/drv/wdt.h
bertos/emul/emul.cpp
bertos/kern/idle.c
examples/demo/demo.c