![]() I assume I somehow messed up the unsafe code. Some basic support is already there but now I have a strange bug which results in Signal 4 (illegal instruction) but goes away when some print statements are added. Mail archives: nntp:///.posix-mq nntp://ou63pmih66umazou.onion/.I am currently working on Posix Message Queue support for nix-rust. Under FreeBSD, the mq_* system calls are not available unless you load the mqueuefs(5) kernel module: kldload mqueuefs SEE ALSO Exit status is 2 if a timeout occurs, 1 for all other errors. The value of MQUEUE should always be prefixed with a slash ("/") for portability. h, -helpĪll commands rely on the MQUEUE environment variable. GENERAL OPTIONS -qĭo not show warning/error messages, suitable for scripting. If a new queue is created with the same name, the created queue is a different queue from the unlinked queue. Existing processes with the queue open may continue to operate on the queue indefinitely. The unlink command prevents further opening and use of the current queue. It takes no arguments and accepts the following options: -t, -timeout SECONDS Timeout and exit with error after SECONDS if the message queue is empty. Only one process may wait on an empty queue, posix-mq-rb(1) will exit with an error if there is another waiting process. The wait command will cause posix-mq-rb(1) to sleep until a message is available in the queue. Output the priority of the received message to stderr in the following format: priority=3 This may not be used in conjunction with -nonblock. t, -timeout SECONDS Timeout and exit with error after SECONDS if the message queue is empty. This may not be used in conjunction with -timeout. Normally posix-mq-rb(1) will block until the queue is readable or interrupted. ![]() The following command-line arguments are accepted: -n, -nonblock Exit immediately with error if the message queue is empty. ![]() If command-line arguments are given, each argument is considered its own message and will be inserted into the queue separately. It will read a message from standard input if no command-line arguments are given. The receive command will output message to standard output. p, -priority PRIORITY Specify an integer PRIORITY, this value should be 0 through 31 (inclusive) for portability across POSIX-compliant systems. t, -timeout SECONDS Timeout and exit with error after SECONDS if the message queue is full. Normally posix-mq-rb(1) will block until the queue is writable or interrupted. The following command-line arguments are accepted: -n, -nonblock Exit immediately with error if the message queue is full. The send command will read a message from standard input if no command-line arguments are given. See mq_getattr(3) for information on the meaning of the fields. The output format of this command is suitable for "eval" in shell scripts. The attr command takes no special options nor command-line arguments. This must be specified if -maxmsg is also specified. The default and limit of this value is system-dependent. ![]() The maximum size of an individual message. This must be specified if -msgsize is also specified. The MODE to open the file under, the actual mode of the queue will be AND-ed with the current umask (like open(2)). This causes queue creation to fail if the queue exists. The create command accepts the following options: -x, -exclusive Unlink - unlink the message queue CREATE USAGE Wait - sleep until a message is available in the queue Receive - take a message from the queue and outputs it to stdout Send - insert a message into the queue from stdin or the command-line COMMANDSĪttr - output attributes of the message queue It is useful for testing and debugging applications using POSIX message queues. ![]() MQUEUE=/name posix-mq-rb COMMAND DESCRIPTIONĪ command-line interface for manipulating POSIX message queues. Posix-mq-rb - command-line interface for POSIX message queues SYNOPSIS Posix-mq-rb_1 - posix_mq - POSIX message queues for Ruby LICENSE NEWS README posix-mq-rb_1 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |