search for: takeptr

Displaying 1 result from an estimated 1 matches for "takeptr".

2011 Jan 12
1
[LLVMdev] VMKit Runtime Link Error
...import* *java.lang*.*; *import* *java.util.Map*; *import* *java.io*.*; *import* java.util.concurrent.locks.*; *class* BoundedBuffer { Lock lock; Condition notFull; Condition notEmpty; *final* Object[] items = *new* Object[100]; *int* putptr, takeptr, count; *public* BoundedBuffer(*int* init_count) { lock = *new* ReentrantLock(); notFull = lock.newCondition(); notEmpty = lock.newCondition(); count = init_count; putptr = t...