After selecting "Restart Desktop", a dialog box similar to the one of the Extended Shutdown will appear. The difference is that after all windows have been closed, not the whole computer is restarted, but only the Workplace Shell Process (PMSHELL.EXE).
To understand the difference it might be helpful to know that the &os2; user interface is structured into three "layers", so-to-say, which sit on top of each other:
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Workplace Shell (WPS) ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Presentation Manager (PM) ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ OS/2 Kernel ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
The Presentation Manager (PM) is responsible for the graphics on your system, such as windows, icons, menus, pictures, and a few more non-graphical things, such as INI files. &os2; can run text-mode applications (e.g. the &os2; command line, CMD.EXE) without PM, but all other applications require that PM be running. A typical PM application is Netscape, for example.
The Workplace Shell (WPS) is just another, however very complex PM application. It is responsible for displaying folders, starting programs when you double-click on their icons, associating files to programs, in short: everything you see after your &os2; has finished booting. This is the context in which &xwp; is running.
The "Restart Desktop" menu item now terminates the topmost layer of the aforementioned three only, the Workplace Shell. This takes a lot less time than rebooting your whole computer, because PM and the Kernel need not be reloaded and initialized.
Restarting the WPS can be helpful when your system has become really slow (for some reason, at least judging from my personal experience, the WPS eats up more and more memory when you work with files a lot) or if you have installed software which changes WPS classes.
Important notes:
In these cases,
you will be reported fairly random crashes in certain DLLs, which are just symptoms
of something going wrong internally. If this happens, you will have to reboot.
Candidates for these random DLL crashes that I have unveiled are INSTALL.DLL
(contains WPInstall), WPPRINT.DLL (contains the printer and spooler classes), and
also the WorkFrame which comes with the various IBM compilers. (Amusingly, all those
DLLs have been programmed by IBM.)