]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/commit
Fix echoserver's foreground mode
authorMartin Vajnar <martin.vajnar@gmail.com>
Thu, 30 Jul 2015 11:54:58 +0000 (13:54 +0200)
committerMartin Vajnar <martin.vajnar@gmail.com>
Thu, 30 Jul 2015 11:54:58 +0000 (13:54 +0200)
commitcd90eccf4c0edc41a514084f1c505f2b95627785
tree616b0ad9ffc90c44b25c33396cba72eb4690d5ec
parent1bf723c51b3334537ac3dcbbb76d3fa8df1ee3f7
Fix echoserver's foreground mode

es_logic() requires pointer to valid thread_context, but the pointer was
only assigned properly when running echoserver as a background thread.

Now the pointer is assigned in both cases, that is for running in
background and foreground.
rpp-test-sw/commands/cmd_echoserver.c