[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] XaAES:Singletask-mode



I've implemented a single-task-mode in XaAES.

This implies:

Stop all AES-Clients except the console-owner if any (e.g. toswin)

Call ikbd_scan in the kernel directly not via addroottimeout in case
the single-task-client disabled the timer-interrupt.


To control this currently there has to be the bit 16 (0x10000) in
p_flags of the relevant binary.


Is it ok to use this bit?

I'd like to get to know who is responsible for console, who is using
/dev/xconout2. Maybe fcntl(F_GETLK) would work? This is important
because the single-task-client possibly does tty-IO. It would also be
possible to introduce a 'dont_stop'-config-parameter for xaaes.cnf.



-Helmut