diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-03 19:46:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-03 19:46:37 +0000 |
commit | cb842a3b50a28145bb8be977f4e9a7069701c88d (patch) | |
tree | ceff943c049bd7cbe1d9f4ed7ab836f8039098e6 /NxWidgets/nxwm/src/cnxconsole.cxx | |
parent | a85f1d89916f8f0302c9f8cd77645a0c60fc93dc (diff) | |
download | nuttx-cb842a3b50a28145bb8be977f4e9a7069701c88d.tar.gz nuttx-cb842a3b50a28145bb8be977f4e9a7069701c88d.tar.bz2 nuttx-cb842a3b50a28145bb8be977f4e9a7069701c88d.zip |
Upated NxWM comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4692 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/src/cnxconsole.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/cnxconsole.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/NxWidgets/nxwm/src/cnxconsole.cxx b/NxWidgets/nxwm/src/cnxconsole.cxx index 3cf5e13b9..fb6ca680a 100644 --- a/NxWidgets/nxwm/src/cnxconsole.cxx +++ b/NxWidgets/nxwm/src/cnxconsole.cxx @@ -357,7 +357,9 @@ int CNxConsole::nxconsole(int argc, char *argv[]) } // Now re-direct stdout and stderr so that they use the NX console driver. - // Note that stdin is retained (file descriptor 0, probably the the serial console). + // Notes: (1) stdin is retained (file descriptor 0, probably the the serial + // console). (2) Don't bother trying to put debug instrumentation in the + // following becaue it will end up in the NxConsole window. (void)std::fflush(stdout); (void)std::fflush(stderr); @@ -372,7 +374,7 @@ int CNxConsole::nxconsole(int argc, char *argv[]) std::close(fd); - // Inform the parent thread that we successfully initialize + // Inform the parent thread that we successfully initialized g_nxconvars.result = true; sem_post(&g_nxconvars.sem); |