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