|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtux.UPosixIPC
public class UPosixIPC
Nested Class Summary | |
---|---|
static class |
UPosixIPC.s_mq_attr
Java version of C struct mq_attr. |
Constructor Summary | |
---|---|
UPosixIPC()
|
Method Summary | |
---|---|
static long |
mmap(long addr,
int len,
int prot,
int flags,
int fd,
long off)
Calls mmap. |
static void |
mq_close(long mqd)
Calls mq_close. |
static void |
mq_getattr(long mqd,
UPosixIPC.s_mq_attr attr)
Calls mq_getattr. |
static void |
mq_notify(long mqd,
UProcess.s_sigevent ep)
Calls mq_notify. |
static long |
mq_open(java.lang.String name,
int flags)
Calls mq_open. |
static long |
mq_open(java.lang.String name,
int flags,
int perms,
UPosixIPC.s_mq_attr attr)
Calls mq_open. |
static int |
mq_receive(long mqd,
byte[] msg,
int msgsize,
UUtil.IntHolder priority)
Calls mq_receive. |
static void |
mq_send(long mqd,
byte[] msg,
int msgsize,
int priority)
Calls mq_send. |
static void |
mq_setattr(long mqd,
UPosixIPC.s_mq_attr attr,
UPosixIPC.s_mq_attr oattr)
Calls mq_setattr. |
static int |
mq_timedreceive(long mqd,
byte[] msg,
int msgsize,
UUtil.IntHolder priority,
UProcess.s_timespec tmout)
Calls mq_timedreceive. |
static void |
mq_timedsend(long mqd,
byte[] msg,
int msgsize,
int priority,
UProcess.s_timespec tmout)
Calls mq_timedsend. |
static void |
mq_unlink(java.lang.String name)
Calls mq_unlink. |
static void |
munmap(long addr,
int len)
Calls munmap. |
static void |
sem_close(long sem)
Calls sem_close. |
static void |
sem_destroy(long sem)
Calls sem_destroy. |
static void |
sem_getvalue(long sem,
UUtil.IntHolder valuep)
Calls sem_getvalue. |
static void |
sem_init(long sem,
int pshared,
int value)
Calls sem_init. |
static long |
sem_open(java.lang.String name,
int flags)
Calls sem_open. |
static long |
sem_open(java.lang.String name,
int flags,
int perms,
int value)
Calls sem_open. |
static void |
sem_post(long sem)
Calls sem_post. |
static void |
sem_timedwait(long sem,
UProcess.s_timespec time)
Calls sem_timedwait. |
static void |
sem_trywait(long sem)
Calls sem_trywait. |
static void |
sem_unlink(java.lang.String name)
Calls sem_unlink. |
static void |
sem_wait(long sem)
Calls sem_wait. |
static int |
shm_open(java.lang.String name,
int flags,
int perms)
Calls shm_open. |
static void |
shm_unlink(java.lang.String name)
Calls shm_unlink. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UPosixIPC()
Method Detail |
---|
public static long mmap(long addr, int len, int prot, int flags, int fd, long off) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void mq_close(long mqd) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void mq_getattr(long mqd, UPosixIPC.s_mq_attr attr) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void mq_notify(long mqd, UProcess.s_sigevent ep) throws UErrorException
SIGEV_THREAD not supported. Almost works for SIGEV_SIGNAL, but JNI code for signal handler is unable to find some classes it needs (on Solaris and Java 1.3, anyway). Calls mq_notify.
Click here for Posix/SUS C API.
UErrorException
public static long mq_open(java.lang.String name, int flags) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static long mq_open(java.lang.String name, int flags, int perms, UPosixIPC.s_mq_attr attr) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int mq_receive(long mqd, byte[] msg, int msgsize, UUtil.IntHolder priority) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void mq_send(long mqd, byte[] msg, int msgsize, int priority) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void mq_setattr(long mqd, UPosixIPC.s_mq_attr attr, UPosixIPC.s_mq_attr oattr) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int mq_timedreceive(long mqd, byte[] msg, int msgsize, UUtil.IntHolder priority, UProcess.s_timespec tmout) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void mq_timedsend(long mqd, byte[] msg, int msgsize, int priority, UProcess.s_timespec tmout) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void mq_unlink(java.lang.String name) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void munmap(long addr, int len) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void sem_close(long sem) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void sem_destroy(long sem) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void sem_getvalue(long sem, UUtil.IntHolder valuep) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void sem_init(long sem, int pshared, int value) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static long sem_open(java.lang.String name, int flags) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static long sem_open(java.lang.String name, int flags, int perms, int value) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void sem_post(long sem) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void sem_timedwait(long sem, UProcess.s_timespec time) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void sem_trywait(long sem) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void sem_unlink(java.lang.String name) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void sem_wait(long sem) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static int shm_open(java.lang.String name, int flags, int perms) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
public static void shm_unlink(java.lang.String name) throws UErrorException
Click here for Posix/SUS C API.
UErrorException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |