sigqueue problem on Irix

sigqueue problem on Irix

Post by Raymond La » Wed, 09 Sep 1998 04:00:00

I am using sigueue() as the main mechanism for processes to send signals

each others.
Each of the processes has handler for these signals.

Here's is a simplified version of the source code:

#define SIGNAL_WANT_TO_CATCH                                50
   sigset_t signal_set;
   struct sigaction sig_action = { SA_SIGINFO, handlerFun, 0 };

  sigemptyset( &signal_set );
  sigaddset( &signal_set );

  sigprocmask( &signal_set );
 sigaction( SIGNAL_WANT_TO_CATCH,  &sig_action, NULL );
 sigsuspend( &signal_set );


void handlerFun( int sig,
                          siginfo_t *signal_info,
                          void       *user_context )

    int sendpid = signal_info->si_pid;
    *  sendpid is not the pid of the sending process?????

Quote:} /* end handlerFun */

The value of signal_info->si_pid is not pid of the sending process????
Any clues?? No problem if the signal is send via sigsend()?????

O.S. : Irix 6.2
Compiler : Mispro C Compiler 7.2




1. NFS export to irix (think the problem is with irix)

cant mount a BSD partition from iris, just to see if i could get
something to work, i tried this,
/home/pixel>cat /etc/exports
#       $OpenBSD: exports,v 1.1 1996/09/06 11:57:20 deraadt Exp $
/ -maproot=0:0

(yes i know its not the safest)
and on the irix side
mount -t nfs /home/

and it just sits there, no error message or anything, just sits there
like its trying to mount. the client is an
O2 running irix 6.3 the server is a pc with openbsd 2.5 out of the box.

the problem may be with irix,  linux 2.2. can mount it just fine.

perhaps another way to file share if irix + bsd wont work?

2. Dead keys handling under X11?

3. problem with sigqueue()

4. Caching DNS on network behind dial on demand router

5. Mounting Irix 5.3 cd on non-irix (linux) system?

6. pam_iptables

7. Follow Up: Irix 6.2 Hangs On Console Login ("amd" on Irix 6.2)

8. Page Fault after moving the disk

9. IRIX 6.5.3 - shell changes from IRIX 6.2?

10. Binary port Irix 6.2 to Irix 6.4

11. sigqueue and POSIX.1b man pages ?

12. sigqueue on linux question

13. sigqueue in threads