All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Sigevent, sigaction
@ 2006-01-26 11:40 Doyle, Alan
  2006-01-26 16:10 ` Jan Kiszka
  2006-01-26 17:11 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 4+ messages in thread
From: Doyle, Alan @ 2006-01-26 11:40 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

I've downloaded Xenomai-2.0.3 and have been lookingh into signal
handling. Structs sigevent & sigaction are used in the code but I can't
find where they are declared. Can anyone help ?

thanks



[-- Attachment #2: Type: text/html, Size: 615 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-core] Sigevent, sigaction
  2006-01-26 11:40 [Xenomai-core] Sigevent, sigaction Doyle, Alan
@ 2006-01-26 16:10 ` Jan Kiszka
  2006-01-26 17:11 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2006-01-26 16:10 UTC (permalink / raw)
  To: Doyle, Alan; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

Doyle, Alan wrote:
> I've downloaded Xenomai-2.0.3 and have been lookingh into signal
> handling. Structs sigevent & sigaction are used in the code but I can't
> find where they are declared. Can anyone help ?

Maybe browsing for them (identifier or full-text search) on this site
helps you (I do not understand yet what you are precisely looking for):

http://www.rts.uni-hannover.de/xenomai/lxr

Note that hart-RT signals are not yet supported in user space. RT user
space threads can only receive Linux signals, which will switch the
threads to secondary (non-deterministic) mode.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-core] Sigevent, sigaction
  2006-01-26 11:40 [Xenomai-core] Sigevent, sigaction Doyle, Alan
  2006-01-26 16:10 ` Jan Kiszka
@ 2006-01-26 17:11 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2006-01-26 17:11 UTC (permalink / raw)
  To: Doyle, Alan; +Cc: xenomai

Doyle, Alan wrote:
 > I've downloaded Xenomai-2.0.3 and have been lookingh into signal
 > handling. Structs sigevent & sigaction are used in the code but I can't
 > find where they are declared. Can anyone help ?

They come from linux/signal.h in kernel-space and signal.h in user-space.

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Xenomai-core] Sigevent, sigaction
@ 2006-01-27  8:31 Doyle, Alan
  0 siblings, 0 replies; 4+ messages in thread
From: Doyle, Alan @ 2006-01-27  8:31 UTC (permalink / raw)
  To: jan.kiszka; +Cc: xenomai

Jan,

I was looking for the definition of sigevent particularly:-

typedef struct sigevent
  {
    sigval_t sigev_value;
    int sigev_signo;
    int sigev_notify;

    union
      {
	int _pad[__SIGEV_PAD_SIZE];

	struct
	  {
	    void (*_function) (sigval_t);	/* Function to start.
*/
	    void *_attribute;			/* Really
pthread_attr_t.  */
	  } _sigev_thread;
      } _sigev_un;
  } sigevent_t;

I was looking only in the Xenomai code, from Giles email I should also
have looked in the linux source where I found it in siginfo.h. Afraid
I'm not just new to Xenomai but Linux also!

Regards

-----Original Message-----
From: jan.kiszka@domain.hid [mailto:jan.kiszka@domain.hid
Sent: 26 January 2006 16:10
To: Doyle, Alan
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Sigevent, sigaction


Doyle, Alan wrote:
> I've downloaded Xenomai-2.0.3 and have been lookingh into signal 
> handling. Structs sigevent & sigaction are used in the code but I 
> can't find where they are declared. Can anyone help ?

Maybe browsing for them (identifier or full-text search) on this site
helps you (I do not understand yet what you are precisely looking for):

http://www.rts.uni-hannover.de/xenomai/lxr

Note that hart-RT signals are not yet supported in user space. RT user
space threads can only receive Linux signals, which will switch the
threads to secondary (non-deterministic) mode.

Jan



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-27  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-26 11:40 [Xenomai-core] Sigevent, sigaction Doyle, Alan
2006-01-26 16:10 ` Jan Kiszka
2006-01-26 17:11 ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2006-01-27  8:31 Doyle, Alan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.