Logo Search packages:      
Sourcecode: rjava version File versions  Download package

Mutex org::rosuda::JRI::Rengine::getRsync (  )  [inline]

returns the synchronization mutex for this engine. If an external code needs to use RNI calls, it should do so only in properly protected environment secured by this mutex. Usually the procedure should be as follows:

	boolean obtainedLock = e.getRsync().safeLock();
	try {
use RNI here ...
	} finally {
		if (obtainedLock) e.getRsync().unlock();
synchronization mutex
JRI 0.3

Definition at line 598 of file Rengine.java.

References Rsync.

            return Rsync;

Generated by  Doxygen 1.6.0   Back to index