top: revert part of a patch regarding separate threads
In the patch referenced below, some logic was moved in
that frame_make function in an effort to overlap those
background threads with additional main thread duties.
Unfortunately, the auto-size column feature was broken
in the process. So this patch will revert a portion of
the earlier patch so as to restore the broken feature.
Reference(s):
. Sep 2021, top overlap additional processing
commit f11f43b4f7
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
ca30741a30
commit
a5b51bc417
@ -6361,6 +6361,10 @@ static void frame_make (void) {
|
||||
WIN_t *w = Curwin; // avoid gcc bloat with a local copy
|
||||
int i, scrlins;
|
||||
|
||||
// check auto-sized width increases from the last iteration...
|
||||
if (AUTOX_MODE && Autox_found)
|
||||
widths_resize();
|
||||
|
||||
/* deal with potential signal(s) since the last time around
|
||||
plus any input which may change 'tasks_refresh' needs... */
|
||||
if (Frames_signal)
|
||||
@ -6382,10 +6386,6 @@ static void frame_make (void) {
|
||||
memory_refresh(NULL);
|
||||
#endif
|
||||
|
||||
// check auto-sized width increases from the last iteration...
|
||||
if (AUTOX_MODE && Autox_found)
|
||||
widths_resize();
|
||||
|
||||
// whoa either first time or thread/task mode change, (re)prime the pump...
|
||||
if (Pseudo_row == PROC_XTRA) {
|
||||
usleep(LIB_USLEEP);
|
||||
|
Loading…
Reference in New Issue
Block a user