일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Linux
- tabedit
- CUDA
- multiprocessor
- ostep
- vi
- ubuntu
- cdua
- Multithreading
- peer-to-peer access
- parallel programming
- C
- gpgpu sim
- GPGPU
- vim
- nvidia
- vi 여러 창
- Unified Memory
- CSAPP
- thread
- GPU
- Producer consumer
- gpgpu-sim
- unix
- Virtual Address
- .cu
- OS
- 운영체제
- 소비자 생산자
- Process
Archives
- Today
- Total
목록소비자 생산자 (1)
하루의 대학원 도전기
[JAVA] BlockingQueue를 이용한 Producer-Consumer 예제
출처 ㅣ: https://docs.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/BlockingQueue.html BlockingQueue (Java 2 Platform SE 5.0) boolean offer(E o, long timeout, TimeUnit unit) Inserts the specified element into this queue, waiting if necessary up to the specified wait time for space to become available. docs.oracle.com class Producer implements Runnable { private final BlockingQueue queue; Pr..
프로그래밍/Java
2021. 12. 8. 15:20