4.0.8 ready to go
This commit is contained in:
parent
24d1324f72
commit
1a80d0c99f
|
@ -4767,28 +4767,31 @@ step_file_view(System_Functions *system, View *view, View *active_view, Input_Su
|
||||||
{
|
{
|
||||||
b8 threads[4];
|
b8 threads[4];
|
||||||
i32 pending = 0;
|
i32 pending = 0;
|
||||||
system->internal_get_thread_states(BACKGROUND_THREADS,
|
|
||||||
threads, &pending);
|
|
||||||
|
|
||||||
string.size = 0;
|
if (system->internal_get_thread_states){
|
||||||
append(&string, "pending jobs: ");
|
system->internal_get_thread_states(BACKGROUND_THREADS,
|
||||||
append_int_to_str(&string, pending);
|
threads, &pending);
|
||||||
gui_do_text_field(target, string, empty_str);
|
|
||||||
|
|
||||||
for (i32 i = 0; i < 4; ++i){
|
|
||||||
string.size = 0;
|
string.size = 0;
|
||||||
append(&string, "thread ");
|
append(&string, "pending jobs: ");
|
||||||
append_int_to_str(&string, i);
|
append_int_to_str(&string, pending);
|
||||||
append(&string, ": ");
|
|
||||||
|
|
||||||
if (threads[i]){
|
|
||||||
append(&string, "running");
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
append(&string, "waiting");
|
|
||||||
}
|
|
||||||
|
|
||||||
gui_do_text_field(target, string, empty_str);
|
gui_do_text_field(target, string, empty_str);
|
||||||
|
|
||||||
|
for (i32 i = 0; i < 4; ++i){
|
||||||
|
string.size = 0;
|
||||||
|
append(&string, "thread ");
|
||||||
|
append_int_to_str(&string, i);
|
||||||
|
append(&string, ": ");
|
||||||
|
|
||||||
|
if (threads[i]){
|
||||||
|
append(&string, "running");
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
append(&string, "waiting");
|
||||||
|
}
|
||||||
|
|
||||||
|
gui_do_text_field(target, string, empty_str);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Partition *part = &models->mem.part;
|
Partition *part = &models->mem.part;
|
||||||
|
|
|
@ -23,9 +23,9 @@ popd
|
||||||
|
|
||||||
pushd ..\build
|
pushd ..\build
|
||||||
REM call "..\code\buildsuper.bat" ..\code\4coder_default_bindings.cpp
|
REM call "..\code\buildsuper.bat" ..\code\4coder_default_bindings.cpp
|
||||||
call "..\code\buildsuper.bat" ..\code\power\4coder_experiments.cpp
|
REM call "..\code\buildsuper.bat" ..\code\power\4coder_experiments.cpp
|
||||||
REM call "..\code\buildsuper.bat" ..\code\power\4coder_casey.cpp
|
REM call "..\code\buildsuper.bat" ..\code\power\4coder_casey.cpp
|
||||||
REM call "..\code\buildsuper.bat" ..\4vim\4coder_chronal.cpp
|
call "..\code\buildsuper.bat" ..\4vim\4coder_chronal.cpp
|
||||||
if %ERRORLEVEL% neq 0 (set FirstError=1)
|
if %ERRORLEVEL% neq 0 (set FirstError=1)
|
||||||
|
|
||||||
set EXPORTS=/EXPORT:app_get_functions
|
set EXPORTS=/EXPORT:app_get_functions
|
||||||
|
|
Loading…
Reference in New Issue