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

Re: [MiNT] USERDEF stack size



Hi list,

I understand that there are a lot of questions about multi-threading, but if we focus back to gemlib, well... gemlib contains VDI bindings, and VDI is not *only* intended to manage the main UI of a GEM application.

VDI may be used to print something to a printer, and that makes sense that such stuff could be done in another thread.
VDI may be used to build bitmap (virtual screen) in another thread, and then, the main UI thread may use the result (the bitmap) to display on the screen.

To sum-up, it appears that both work-around discussed here (malloc() and global "static" array of data) are bad idea if applied to gemlib.

Arnaud.