Some of the basic doubts i have in embedded programming as below

In case if i use a single timer of 1ms then if i can count a variable if it becomes 2, i can execute 2ms functions else it becomes 10 i can execute 10ms functions. Is this the method followed? In case if i use 2 different timers will there be a problem of collision between 2ms and 10ms tasks? I am sorry if it is silly question.

In case if i use a single timer of 1ms then if i can count a variable if it becomes 2, i can execute 2ms functions else it becomes 10 i can execute 10ms functions. Is this the method followed? In case if i use 2 different timers will there be a problem of collision between 2ms and 10ms tasks? I am sorry if it is silly question.
