https://learnc.info/c/pthreads_semaphores.html>учимся писать под pthreads><Windows.h>Нахуя? А главное зачем?