12-13-2006
Just for the heck of it, I would try SIGRTMIN rather than SIGUSR1, which should be easy to try. If it is failing on a 2.6 kernel with smp support, there is not much point in trying another kernel. Although there is a product called RTLinux which claims complete Posix Realtime compliance
link.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
If you wan't to try Linux but don't want to lose Micro$oft Win, 3 basic options. You can buy a new Disk ( wich aren't as expensive as they were) and install it there. You can partition your disk so that you'll be able to boot under win or linux. Or you can run VMware, wich is a great Virtual... (2 Replies)
Discussion started by: merlinpr
2 Replies
2. UNIX for Dummies Questions & Answers
hi. I am newbie in Unix. I wanted to install Free BSD 5.2.1 to my computer which winXp was already installed. But i couldn't.
I chose Standard. Then it said you are going to use dos style fdisk partitioning. Then a window displayed begining like this.
WARNING: A geometry of 155127/16/63 for... (0 Replies)
Discussion started by: sualcavab
0 Replies
3. Shell Programming and Scripting
Hi,
Can some one tell, how to replace ascii non printable TAB from the while to something, then later on replace it back to TAB.
Basciallz we do bulk data processing, our processin treats TAB as new field ,
So I thought we can replace it with something and later on revert it.
TIA (4 Replies)
Discussion started by: braindrain
4 Replies
4. Shell Programming and Scripting
Hello, I have read a few threads on this subject and tried a few things out, but still come up short.
There was one good example, then the last reply was something to the effect of 'Use Sed' & 'Read a book'...
Well I read a bunch of online tutorials on sed, awk, tr, but still can't get the... (2 Replies)
Discussion started by: Majiktom
2 Replies
5. What is on Your Mind?
you spend an entire day with scripting nightmares and go to bed real late in the early morning hrs to wake up to your gf asking you a question and your only answer is "It's in the script" LMAO
Happened to me this morning would you believe that?? My daughter is 10yrs old and my gf wanted to check... (3 Replies)
Discussion started by: phpfreak
3 Replies
6. SCO
Hello,
We have a SCO box running OpenServer 5.0.5. This has our business software on it (15 users connecting via terminal emulator (ansio lite)) which has been running for about 12-15yrs strong!
Within the past 6-8 months, at random times of the day, we've been loosing connection to this box. ... (8 Replies)
Discussion started by: rpcbrielle
8 Replies
7. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
When I echo out the output of my awk script I loose the formatting
that I set in my awk script (it should be in a table format).
2. Relevant commands, code, scripts, algorithms:
3. The attempts at a solution (include all... (2 Replies)
Discussion started by: ROFL
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'm trying to sort 2 different .txt tab delimited files with the command line:
sort -k 1b,1 inputfile > outputfile
But doing that i'm also sorting the header (that ends at the end of my file).
How can i sort a .txt file without sorting the header but conserving the header in the... (3 Replies)
Discussion started by: alisrpp
3 Replies
9. UNIX and Linux Applications
Hi all,
I don't know how many times I've setup samba shares, but... It's been a while since the last time. The SID UID maps used to always seem random. I.E. if I had to move the data to another box, I'd have to note all of the SID / UID relations and write scripts to convert them on the new... (0 Replies)
Discussion started by: mph
0 Replies
10. Solaris
Hi!
I am having a problem when logging in on a solaris 10 server, after typing one or two commands, I lose connectivity, with the following message:
server unexpectedly closed network connection
I have checked the following:
grep `uname -n` /etc/inet/hosts /etc/inet/ipnodes... (8 Replies)
Discussion started by: fretagi
8 Replies
LEARN ABOUT NETBSD
sigqueue
SIGQUEUE(2) BSD System Calls Manual SIGQUEUE(2)
NAME
sigqueue -- queue a signal to a process (REALTIME)
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <signal.h>
int
sigqueue(pid_t pid, int signo, const union sigval value);
int
sigqueueinfo(pid_t pid, const siginfo_t *info);
DESCRIPTION
The sigqueue() system call causes the signal specified by signo to be sent with the value specified by value to the process specified by pid.
If signo is zero (the null signal), error checking is performed but no signal is actually sent. The null signal can be used to check the
validity of PID.
The conditions required for a process to have permission to queue a signal to another process are the same as for the kill(2) system call.
The sigqueue() system call queues a signal to a single process specified by the pid argument.
The sigqueue() system call is implemented using sigqueueinfo() and passing the appropriate information in the info argument.
The sigqueue() system call returns immediately. If the resources were available to queue the signal, the signal will be queued and sent to
the receiving process.
If the value of pid causes signo to be generated for the sending process, and if signo is not blocked for the calling thread and if no other
thread has signo unblocked or is waiting in a sigwait() system call for signo, either signo or at least the pending, unblocked signal will be
delivered to the calling thread before sigqueue() returns. Should any multiple pending signals in the range SIGRTMIN to SIGRTMAX be selected
for delivery, it is the lowest numbered one. The selection order between realtime and non-realtime signals, or between multiple pending non-
realtime signals, is unspecified.
RETURN VALUES
Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the
error.
ERRORS
The sigqueue() system call will fail if:
[EAGAIN] No resources are available to queue the signal. The process has already queued {SIGQUEUE_MAX} signals that are still
pending at the receiver(s), or a system-wide resource limit has been exceeded.
[EEPERM] The process does not have the appropriate privilege to send the signal to the receiving process.
[EINVAL] The value of the signo argument is an invalid or unsupported signal number.
[ESRCH] The process pid does not exist.
SEE ALSO
sigaction(2), siginfo(2), sigpending(2), sigsuspend(2), sigtimedwait(2), sigwait(2), sigwaitinfo(2), pause(3), pthread_sigmask(3)
STANDARDS
The sigqueue() system call conforms to IEEE Std 1003.1-2004 (``POSIX.1'').
HISTORY
Support for POSIX realtime signal queue first appeared in NetBSD 6.0.
BSD
January 9, 2011 BSD