Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- 프로그래머스
- C++
- SSH
- C
- VS Code
- 기타 연주
- JSON
- pip
- paramiko
- Python
- Numpy
- C#
- Linux
- windows forms
- pandas
- 컨테이너
- mysql
- Visual Studio
- YOLO
- ubuntu
- pytorch
- 채보
- label
- 핑거스타일
- nvidia-smi
- OpenCV
- Docker
- Selenium
- error
- 오류
Archives
- Today
- Total
목록매개변수 (1)
기계는 거짓말하지 않는다

System.Threading.Thread Class 스레드를 만들고 제어할 수 있다. Critical Section에 대한 관리는 신중해야 하며 Mutex, Semaphore를 사용할 수 있다. 매개변수가 없는 함수 스레드 실행 using System; using System.Threading; public class ThreadExample { public static void PrintNum() { for (int i = 0; i < 10; i++) { Console.WriteLine("Thread {0}", i); Thread.Sleep(100); } } public static void Main() { Console.WriteLine("Thread Start"); Thread t = new Th..
C#
2022. 4. 16. 00:44