A slice of time given to a thread or process so that it may run some code. Multitasking is the fine art of dividing up a linear stream of time between two or more tasks. These time divisions are often referred to as timeslices. see: cooperative multitasking, pre-emptive multitasking, thread