[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [MiNT] Calling GEM from within a signal handler
> From: owner-mint@fishpool.com [mailto:owner-mint@fishpool.com]On Behalf
> Of Mario Becroft
> Sent: Thursday, April 15, 1999 7:13 PM
> To: MiNT Mailing List
> Subject: [MiNT] Calling GEM from within a signal handler
>
>
> Is it possible to utilise GEM from within a signal handler under MiNT? And
> what about MagiC?
Under MagiC: yes. Under MiNT with MultiTOS-AES or old AES: no. With N.AES:
not sure.
> If not, how would I go about getting a GEM program to react to a signal?
Let the signal handler set a flag and poll that with AES timer events.
Alternatively, let the signal handler create a new thread using Pexec 104,
and then that thread can send an AES message to the original thread.