No, that is not multitasking. It is sequential, i.e. doing a series of things one after the other in the order you have described. One task after the other so to speak. Less than 1% of the examples you are likeky to encounter written in the Energia or Arduino environment will use a RTOS. You can find lots of references on this if interested. For those with a computing science background, please excuse my loose language.