RE: [Xenomai-core] Sigevent, sigaction

2006-01-27 Thread Doyle, Alan
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 26 January 2006 16:10
To: Doyle, Alan
Cc: xenomai-core@gna.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




RE: [Xenomai-core] Sigevent, sigaction

2006-01-27 Thread Doyle, Alan
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 26 January 2006 16:10
To: Doyle, Alan
Cc: xenomai-core@gna.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


___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Sigevent, sigaction

2006-01-26 Thread Gilles Chanteperdrix
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.



Re: [Xenomai-core] Sigevent, sigaction

2006-01-26 Thread Jan Kiszka
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



signature.asc
Description: OpenPGP digital signature


Re: [Xenomai-core] Sigevent, sigaction

2006-01-26 Thread Gilles Chanteperdrix
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.

___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] Sigevent, sigaction

2006-01-26 Thread Jan Kiszka
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



signature.asc
Description: OpenPGP digital signature
___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core