search for: notifyall

Displaying 2 results from an estimated 2 matches for "notifyall".

Did you mean: notifycall
2011 May 23
2
[Cortado] How to support seeking in on-the-fly generated Theora stream?
...nly 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 event) { // wait until we get the permission to seek synchronized (permissionToSeek) { try { Debug...
2009 Oct 27
1
Rjava, RImageJ, and/or S4 question.
I am out of my league with this question. The following code starts the java imaging program ImageJ from within R, and displays an image (assuming ImageJ is installed on your computer). library(RImageJ) img <- IJ$openImage( file.choose() ) #pick an available .tif file img$show() # make the image object visible # An image is now displayed # find out about the objects involved >