All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.hcoona.concurrent.PosixErrorException Maven / Gradle / Ivy

Go to download

Cross platform named mutex which provide a system-wide mutex synchronization primitive

The newest version!
package io.github.hcoona.concurrent;

import com.sun.jna.LastErrorException;

/**
 * Posix native exception.
 */
public class PosixErrorException extends LastErrorException {
  /**
   * @param code Error code, usually should be global variable errno.
   */
  public PosixErrorException(int code) {
    super(code, LibCExt.INSTANCE.strerror(code));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy