일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- tabedit
- GPGPU
- unix
- vi 여러 창
- C
- OS
- Unified Memory
- 소비자 생산자
- 운영체제
- vim
- GPU
- Virtual Address
- vi
- CSAPP
- Linux
- ostep
- Producer consumer
- multiprocessor
- Process
- Multithreading
- ubuntu
- gpgpu-sim
- CUDA
- .cu
- gpgpu sim
- nvidia
- peer-to-peer access
- thread
- parallel programming
- cdua
Archives
- Today
- Total
목록Producer consumer (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