[Gambas-user] Tasks signals mapped to main application_signal

Brian G brian at westwoodsvcs.com
Thu Sep 21 06:41:02 CEST 2023

When a task wants to capture a signal, the signal goes to the main application application_signal 

Not the one created inside the task, would it not be more correct to remap the signal handler included in the task definition 
rather that in the main module of the forked applications application_signal function. 

See attached program. 

It can be worked around, but what if, the main and tasks have differing signal needs? 

"Failure is the key to success; 
each mistake teaches us something" .. Morihei Ueshiba 
Brian G 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230920/c4f7f8ac/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: TestSignals-0.0.2.tar.gz.gmail.txt
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230920/c4f7f8ac/attachment-0001.txt>

More information about the User mailing list