[Q] Photon and Signals

Hello there,

In a multithreaded Photon application I use signals
to suspend a running thread (on callback of a Button
widget) and everytimes the signal is send, the application
is terminated and I get a :

user defined signal 1

The way I handle the signal works fine in a console app
but not with Photon, what do I need to to to not let
Photon handle the signals and let the thread do ?

Thanks in advance for any tips/suggestions.

Regards,

Jean-Louis

Did you try the signal function of photon?


Bye Sascha( sascha@bitctrl.de )

Sascha Morgenstern
BitCtrl Systems GmbH
Weißenfelser Straße 67
Germany - 04229 Leipzig
Phon. +49 341 490 670
FAX. +49 341 490 67 15
eMail: sascha@bitctrl.de
WWW: http://www.bitctrl.de


“Jean-Louis Villecroze” <jlv@kirilla.com> schrieb im Newsbeitrag
news:9dmpcu$maq$1@inn.qnx.com

Hello there,

In a multithreaded Photon application I use signals
to suspend a running thread (on callback of a Button
widget) and everytimes the signal is send, the application
is terminated and I get a :

user defined signal 1

The way I handle the signal works fine in a console app
but not with Photon, what do I need to to to not let
Photon handle the signals and let the thread do ?

Thanks in advance for any tips/suggestions.

Regards,

Jean-Louis

Hello,

In message <9dnt2j$c3i$1@inn.qnx.com>, “Sascha Morgenstern” wrote:

Did you try the signal function of photon?

No I haven’t as I don’t want Photon to handle the signal, but
maybe I need to explicitly tell it to not handle it … ?

Thanks for your answer.

regards,

jean-louis