태그

A thread is a light-weight process. The implementation of threads and processes differs from one operating system to another, but in most cases, a thread is contained inside a process

via Thread (computing) – Wikipedia, the free encyclopedia.

  • unlike processes all threads of one process share the same memory
  • the concurrent nature of threads

from https://developer.gnome.org/glib/2.36/glib-Threads.html

  • Single Tasking: C++’s library and the execution of that program is essentially suspended, shown in dashed line in the diagram

  • Multi Tasking: Part B does not have to wait until cout completes.

from http://www.cs.mtu.edu/~shene/NSF-3/e-Book/FUNDAMENTALS/threads.html

Advertisements