>I agree that IUP should not be the solution to every problem. But in
>this case, I strongly argue that it is the correct solution because
>IUP itself already took over responsibility for the event loop. (The
>moment IupMainLoop() or IupLoopStep() were created, that ship sailed.)

IUP is an event based model so the message based model of Windows is the only
ship that has sailed here. I want the IUP model to stay just the way it is
because the IUP model is superior to the Windows one. Just try and find a
different third party solution, say like incorporating ØMQ, which can do
everything you want and much, much, much more.

>IUP wrapped native GUIs and by that fact, it also is responsbile for
>dealing with the platform idiosyncrasies they demand for their event
>loops (in this case, multithreading rules).

You are correct that IUP only wraps the GUI and the last time I looked
multithreading was not a GUI problem. Multithreading (a kernel issue) is
outside the scope of what IUP is supposed to do (GUI wrapper) and that means
what you are discussing is not a problem for IUP to solve.

And just so we are clear here, the C-Runtime is also outside the scope of what
a GUI wrapper is supposed to do, so incorporating a cross-platform
pseudo-PostMessage would be EXACTLY like incorporting a cross-platform
C-runtime.

>This proposal is a tiny patch to IUP, one that nobody except the
>implementors will notice. It does not break current behavior or create
>any trade offs. But it solves real problems deal with the fact that
>the real world uses threads, even inside the native platforms. If you
>don't have this problem, then it doesn't matter because this change
>won't affect you.

Don't try to brush me off like that because it won't work.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to