Class ClosureMagazine

java.lang.Object
com.kenai.jffi.ClosureMagazine

public final class ClosureMagazine extends Object
  • Field Details

    • foreign

      private final Foreign foreign
      A handle to the foreign interface to keep it alive as long as this object is alive
    • callContext

      private final CallContext callContext
      keep a reference to the call context, to avoid GC whilst the magazine is in use
    • magazineAddress

      private final long magazineAddress
    • disposed

      private volatile int disposed
    • UPDATER

      private static final AtomicIntegerFieldUpdater<ClosureMagazine> UPDATER
  • Constructor Details

    • ClosureMagazine

      ClosureMagazine(Foreign foreign, CallContext callContext, long magazineAddress)
  • Method Details