I never thought of Windows 3.1 as an OS. The other 2 was MS-DOS and Windows 95.
replies(2):
Though Windows 95 was arguably similar running atop “DOS 7” it actually imposes its own 32-bit environment with its own “protected mode” drivers once booted. Dropping to DOS reverted to “real mode”.
EDIT it’s coming back to me. Windows 3.1 did have a a subsystem for running 32 bit apps called Win32 I think that’s what you mean. This was very much in the application space though.
It still used cooperative multitasking and Win 95 introduced preemptive.
It had just enough parts of the API implemented to be able to run Quake 2 in DOS.