public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Send a signal from a alarm function
@ 2003-12-22 16:53 Roland Caßebohm
  2003-12-23  6:23 ` Roland Caßebohm
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Caßebohm @ 2003-12-22 16:53 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I like to send a signal with pthread_signal() from an cyg_alarm callback
function. Is this possible, or do I have to trigger a thread from which
I then could call pthread_signal() ?

Exactly I want to wake a waiting pselect(), maybe there are better ways
to do that?

Thank you,

Roland
-- 

___________________________________________________

VS Vision Systems GmbH, Industrial Image Processing
Dipl.-Ing. Roland Caßebohm
Aspelohe 27A, D-22848 Norderstedt, Germany
http://www.visionsystems.de
___________________________________________________


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

* Re: [ECOS] Send a signal from a alarm function
  2003-12-22 16:53 [ECOS] Send a signal from a alarm function Roland Caßebohm
@ 2003-12-23  6:23 ` Roland Caßebohm
  0 siblings, 0 replies; 2+ messages in thread
From: Roland Caßebohm @ 2003-12-23  6:23 UTC (permalink / raw)
  To: ecos-discuss

Sorry, of course I mean pthread_kill() instead of pthread_signal().

On Montag, 22. Dezember 2003 17:49, Roland Caßebohm wrote:
> Hello,
>
> I like to send a signal with pthread_signal() from an cyg_alarm callback
> function. Is this possible, or do I have to trigger a thread from which
> I then could call pthread_signal() ?
>
> Exactly I want to wake a waiting pselect(), maybe there are better ways
> to do that?
>
> Thank you,
>
> Roland


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

end of thread, other threads:[~2003-12-22 16:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-22 16:53 [ECOS] Send a signal from a alarm function Roland Caßebohm
2003-12-23  6:23 ` Roland Caßebohm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).