}
/** Destroy the C communication object, when the GC reclaims the java part. */
+ @Override
protected void finalize() throws Throwable{
nativeFinalize();
}
init();
}
+ @Override
protected void finalize() throws Throwable {
nativeFinalize();
}
*/
private native void create(String name);
+ @Override
protected void finalize() throws Throwable{
nativeFinalize();
}
/** Deletes this semaphore when the GC reclaims it */
+ @Override
protected void finalize() throws Throwable {
nativeFinalize();
}
public native void cancel();
/** Deletes a task once the garbage collector reclaims it */
+ @Override
protected void finalize() throws Throwable{
nativeFinalize();
bind=0; // to avoid segfaults if the impossible happens yet again making this task surviving its finalize()