Documentation ¶
Index ¶
- func DestroyQueue(msqid uintptr) (err error)
- func MsgChan(msqid uintptr, msgbf *msgbuf) <-chan struct{}
- func NewMsg(mtype int, mtext []byte) *msgbuf
- func OpenQueue(key int) (msqid uintptr, err error)
- func RcvMsg(msqid uintptr, msgbf *msgbuf) (err error)
- func SndMsg(msqid uintptr, msgbf *msgbuf) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestroyQueue ¶
DestroyQueue closes the queue has been opened returns error, if any.
func MsgChan ¶
func MsgChan(msqid uintptr, msgbf *msgbuf) <-chan struct{}
MsgChan calls RcvMsg and returns a channel.
func OpenQueue ¶
OpenQueue creates/opens a system v message queue and returns queue key and error, if any.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.