OS multithreading differences

I ask this question because I studied Haiku (a descendant of BeOS).

The purpose of the BeOS operating system was to create a desktop environment that copes well with multimedia and is very responsive. They control this by creating a kernel that has "ubiquitous multithreading."

Other operating systems (Linux, Windows, etc.) do not have this "multi-processor multithreading" and, therefore, are not so responsive. (no fiery wars, please ...)

Can anyone explain the (subtle) differences between ubiquitous multithreaded (like BeOS / Haiku) and multithreaded used on Windows or Linux?

What are the implications for a developer for different multi-threaded systems?


I found an interesting site about BeOS multithreading ... BeOS multithreading

+6
multithreading operating-system haiku
source share
1 answer

Copied from the answer I made for the closed question "What is / was so amazing with respect to BeOS [closed]", but it is very well applied here:

The strange thing about developing BeOS from memory is that the graphical interface is really multithreaded, unlike graphical interfaces on other platforms that tend to be completely single-threaded.

This meant that the GUI application development for BeOS was completely different, but I guess it meant that the GUI was more responsive without requiring explicit application-level design to interact with the GUI.

Of course, this means using mutexes, etc. more important, and transferring graphical applications from another OS to BeOS is difficult if the BeOS GUI library does not turn into a single-threaded library using and using one system-wide mutex.

Linux, Windows, and almost all other OSs, I can come up with the idea that I have used multithreading support in recent decades, Linux and Windows, which use multithreading in different ways, but do it very well - however BeOS does use multithreading everywhere - and it becomes obvious. for example, in the GUI structure, while most others are strictly single-threaded. (Or, as a last resort, allow multiple threads access with the consequences of undefined ...)

+4
source share

All Articles