스레드,thread

프로세스,process 안의 더 작은 실행 단위.

리눅스_커널,Linux_kernel 스레드 패키지는 POSIX 1003.1c 표준과 호환된다.

Sub:
user-level_thread 사용자 레벨 스레드
kernel-level_thread 커널 레벨 스레드
스레드풀 thread_pool - curr at 풀,pool?action=highlight&value=thread_pool

Topics
communication between threads
스레드 사이 통신,communication
Ggl:스레드 간 통신 Naver:스레드 간 통신 Bing:스레드 간 통신
방법은 shared_memory , .....
주의해야 할 것은 race_condition , .....


MKLINK
concurrency
concurrent_programming - 멀티스레드 프로그래밍 (multithread programming ? multithreaded programming ?)과 차이?
concurrent_Haskell or Haskell_concurrency
{


from https://www.youtube.com/watch?v=cuHD2qTXxL4
{
forkIO :: IO () -> IO ThreadId
forkIO act

....

f :: Int -> Int -> IO ()
f a b = do
  let x = a+b
  putStrLn $! show x

main :: IO ()
main = do
....
forkIO $ f 1 2
.....


MVar : mutable locations that can be shared
}
}
실행,execution - del ok
Google:threading vs multithreading
threading ? WtEn:threading Google:threading NN:threading .... Srch:threading
multithreading WtEn:multithreading Google:multithreading NN:multithreading .... Srch:multithreading
shared_variables - threaded programs에서의 topic. mutex=mutual_exclusion semaphore etc.
동기화,synchronization - semaphore로 threads를 동기화 가능.
thread_safety =,thread_safety . thread_safety Srch:thread_safety
{
스레드안정성 ..이 최선의 번역?

thread-safe adj.



여러 스레드들이 다른 스레드가 점유한 자원,resource이 해제(lock이 해제)될때까지 무한정으로 대기하는?





Twins: