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

[MiNT] design question: gemdos/vdi/aes



Hello,

I'd like to get some precisions on the links between process, AES and VDI. I speak for a general point of view: i'd like to get the answer for existing systems, and your idea for futur possible design (vdi and aes implemented as special freemint modules and MP friendly ?).

A process opens a VDI workstation. When the process is dead, is this VDI workstation automatically closed or may be automatically closed (by some garbage feature) ? In other words, is there a link between VDI handle and process ID ? Other question: is it possible for a process to draw something in a workstation opened by another process, even if the process that created the VDI workstation no more exist ?

Same question for AES: a process initialises an AES application (appl_init), and this AES handle (aes_global[] array) is used by two processes : the one that has called appl_init, and another one using mt_aes functions. When the 1st process ended (WITHOUT calling appl_exit), is the AES handle automatically closed by the AES ? The 2nd process can keep using this AES handle or not ? In other words, is there a link between AES handle and process ID. Is a process able to open 2 AES handles (with mt_appl_init and 2 differents aes_global[] arrays) ?

What are the rules ?

Any (even partial) answer is welcome.

best regards,
Arnaud.