Displaying 1 result from an estimated 1 matches for "permissiontoseek".
2011 May 23
2
[Cortado] How to support seeking in on-the-fly generated Theora stream?
...-------------------------------------+ +----
Thats why many code blocks are synchronized on the queue object, that only
one thread can access the queue at one time. Now, i want so synchronize
the sink- and sourcepad threads of the QueueSeek class on another object,
which is called "permissionToSeek". The sinkpad should wait until it gets
a permission to seek.
I tried to achieve this with wait() and notifyAll().
the sinkpad has a method which gets called if a seek request arrives. It
synchronizes on the permission object and waits for the srcpad to grant
it:
private void doSeek(Event...