We are going to settle the functions on the table like the below.
Table1. Thread work architecture
1 |
thread type |
function |
type | file |
2 | keyup | a = spin_screen(); |
3d Calculation |
display_threeD.cpp |
3 | keyup | int b = convert_model_lines_002( (vLine*)lines_001, (vLine*)lines_2D_001, 3, line_index ); | ||
4 | keyup | int initialization_lines_all (); | ||
5 | keyup | int convert_AXEX_2D (); (*2) | AXEX_2D_002 ines lines_2D |
|
6 | keyup | |||
7 | keyup | |||
5 | - | |||
6 | paint | |||
7 | paint | int nDisplayControls_wmpaint_display_threeD_proc | lines_2D | display_threeD.cpp |
8 | paint | |||
9 | paint | |||
10 | paint | |||
11 | ||||
12 | ||||
13 |
*1
If we have the function for the example of calculation, we plan to place that function on the WM__KEYUP.
*2
We ensured, a = convert_AXEX_2D(); works well.We ensured, a = convert_AXEX_2D(); works well.