introduction to concurrency and parallelism for examplelet us assume that we have program that will call three independent functionsthese functions aremake backup of the current data held by the programprint the data currently held by the programrun an animation using the current data let us assume that these functions run sequentiallywith the following timingsthe backup function takes sthe print function takes sthe animation function takes this would result in total of to perform all three operations this is illustrated graphically belowhoweverthe three functions are all completely independent of each other that is they do not rely on each other for any results or behaviourthey do not need one of the other functions to complete before they can complete etc thus we can run each function concurrently if the underlying operating system and program language being used support multiple processesthen we can potentially run each function in separate process at the same time and obtain significant speed up in overall execution time if the application starts all three functions at the same timethen the maximum time before the main process can continue will be sas that is the time taken by the longest function to execute howeverthe main program may be able to continue as soon as all three functions are started as it also does not depend on the