v2
This commit is contained in:
parent
8d38960b3f
commit
207dd17bca
1 changed files with 8 additions and 0 deletions
8
BoundedBuffer.h
Executable file
8
BoundedBuffer.h
Executable file
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
class BoundBuffer{
|
||||
Semaphore full(n);
|
||||
Semaphore empty(n);
|
||||
Semaphore mutex(n);
|
||||
}
|
||||
|
Reference in a new issue