Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 233 Bytes

File metadata and controls

5 lines (4 loc) · 233 Bytes

Multi-Threading

This code will print first name and last name parallelly over sleep time of 2 sec. Therefore to print 5 time first and last name; this it will only take 10 sec. For normal execution the time taken would be 20 sec.