I understand that Eclipse SWT is dependent on Win32 APIs in the Windows operating system and GTK in the Linux operating system. As of now, Eclipse SWT in Windows supports the creation of multiple Display instances (multiple threads can create their own Display instances simultaneously), whereas in Linux, this is not the case.
I understand that GTK is not thread-safe and hence does not allow the creation of multiple GTK instances per application, which in turn does not allow SWT to create multiple Displays in a multithreaded environment.
I am curious to know how this is supported in Windows. Is it SWT that is responsible for multiple Display support, or the underlying Win32 APIs?
user1779341 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.