【Record】【read coding】

来源:互联网 发布:淘宝天猫卷怎么抢到 编辑:程序博客网 时间:2024/05/08 00:43
apup.c
G_apup_evt_flg
apup_set_flg(flg)?1 why use if 2 why use G_apup_evt |= evt_flg
apup_wait_flag(flg, mutex)?1 why operate flg
we can see "req_kind = apup_wai_flg(D_APUP_EVT_FLG_ALL, &G_APUP_MUTEX);" appearing in the file,
so we can suppose two points:First, req_kind draw from the apup_wait_flg; Inversely, apup_wait_flg has this auxilary capability.




apup_ctrl.c
structure type symbol as S_, similarly, variable defined as sXXXX
enumeration type symbol as EN_, variable defined as eXXXX
point type variable defined as pXXXX


do{}while(0) later, replaced by the clause try...catch


condation1 ? : condation 2 ? dummy : dummy; VBA sophisticated or regular expression or Automat


in the launch of controler task, Apup_req_verup_func could be register in the CONTEXT or environment. 


sequence diagram, to sync the functions in order and successively


apup_fil.c
Macro Line 82-98
G_fil_sApupDeleteStatus
apup_fil_Rename
apup_fil_DeleteProgress
apup_fil_PreparationLoadingReady?
apup_fil_DeleteFolder 268 298apup_if_RetResult( psApupParameter, psVerUpFunc_Result )