mirror of
https://github.com/reactos/reactos.git
synced 2024-09-16 15:51:22 +00:00
85da7a06cd
- Start to uniformize some helpers' names : ConioLockConsole --> ConioGetConsole and ConioUnlockConsole --> ConioReleaseConsole ConioLockInputBuffer --> ConioGetInputBuffer and ConioUnlockInputBuffer --> ConioReleaseInputBuffer ConioLockScreenBuffer --> ConioGetScreenBuffer and ConioUnlockScreenBuffer --> ConioReleaseScreenBuffer but the overall naming must be revamped. - Add them a boolean parameter to determine whether or not we should lock the console. It is useful to not lock an already locked console when input / output waiting threads are called, because these are called from functions which lock the console. - In the GUI console window message loop, after retrieving a pointer to the corresponding console, lock it before calling funtions in the message dispatcher (and unlock the console at the end). - Use PostMessage instead of SendMessage for "sending" GUI messages to console windows, to avoid possible deadlocks (because of console locking). - Add temporary /// LOCK /// comments to easily localize where I deactivated extra console (un)locking code (this remains to be analyzed further). svn path=/branches/ros-csrss/; revision=58205 |
||
---|---|---|
.. | ||
lang | ||
res | ||
alias.c | ||
CMakeLists.txt | ||
coninput.c | ||
conio.h | ||
conoutput.c | ||
console.c | ||
consrv.h | ||
consrv.rc | ||
consrv.spec | ||
guiconsole.c | ||
guiconsole.h | ||
handle.c | ||
init.c | ||
lineinput.c | ||
resource.h | ||
rsrc.rc | ||
tuiconsole.c | ||
tuiconsole.h |