• deuce's avatar
    Improve the locking "stuff"... · 4d70127d
    deuce authored
    For regular vstatlock things, only hold the lock long enough to copy the
    variables that will be used.
    For vstat.vmem stuff, create a separate reference-counting vmem structure
    and a new vmem_lock so the memcpy() of the vmem won't block basic vstat
    This appears to fix the recently-added "blockiness" of screen updates in
    SyncTERM, without risking deadlocks or unlocked accesses... the major issue
    holding up a release.
vidmodes.c 6.78 KB