Changeset 185 for trunk/docs/lswitch.ipf


Ignore:
Timestamp:
Aug 23, 2020, 6:40:06 AM (5 years ago)
Author:
Lewis Rosenthal
Message:

Updated EN help to add topic on Priority dialog. Other miscellaneous
fixes added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/docs/lswitch.ipf

    r184 r185  
    66.nameit symbol=tb text='Taskbar'
    77.nameit symbol=wgt text='Widget'
     8.nameit symbol=pd text='Priority dialog'
    89.nameit symbol=owl text='OS/2 Window List'
    910.nameit symbol=sm text='Sticky Mode'
     
    1718:title.&lsw. Help
    1819.* Subject: lSwitcher User Guide
    19 .* Version: 2018012701
    20 .* Copyright: 1997-2009 Andrei Los; 2010-2019 Netlabs lSwitcher Team
     20.* Version: 202008211
     21.* Copyright: 1997-2009 Andrei Los; 2010-2020 Netlabs lSwitcher Team
    2122.* Author: Andrei Los, Gregg Young, Andy Willis, Lewis Rosenthal, et al
    2223
     
    103104:note text='Note 1'.The path to :hp2.LSWITCHD.EXE:ehp2. must be
    104105:link reftype=fn refid='TSR1'.DOS-accessible:elink.. The default is
    105 BootDrive&colon.\OS2\MDOS\LSWDOS.
     106&lt.BootDrive&gt.&colon.\OS2\MDOS\LSWDOS.
    106107
    107108
     
    182183the other program settings.
    183184
    184 :note text='Note 1'.It is necessary to open the &pn. and click :hp1.Save:ehp1.
     185:note text='Note 1'.It is necessary to open the &pn. and click :hp2.Save:ehp2.
    185186in order to retain colors and fonts after :hp2.&lsw.:ehp2. is closed and
    186187reopened.
     
    233234:dt.:hp2.p:ehp2.
    234235:dd.Opens a dialog to allow setting process priority and delta, as well as
    235 a checkbox to apply such changes to the task's descendants. Click OK to apply
    236 the priority changes or Cancel to leave the dialog without saving changes.
     236a checkbox to apply such changes to the task's descendants. See
     237:link reftype=hd refid='30200'.&pd.:elink. for more information.
    237238:dt.:hp2.F1:ehp2.
    238239:dd.Opens this help file
     
    331332
    332333:p.Various properties of the :hp2.&tb.:ehp2. may be configured, including
    333 maximum
    334 button width for running tasks, whether the :hp2.&tb.:ehp2. is of
     334maximum button width for running tasks, whether the :hp2.&tb.:ehp2. is of
    335335fixed width or resizable, :link reftype=hd refid='Taskbar_page_2'.mouse
    336336button mapping:elink., as well as the style and content of the
     
    340340bottom) will cause it to be shown.
    341341
    342 :p.:hp2.&tb.:ehp2. and :hp2.&wgt.:ehp2. background color as well as font and text color may be
    343 changed by
    344 dragging and dropping from the respective WPS palette object (while the
    345 :hp2.&tb.:ehp2.
    346 is not in :hp2.&ahm.:ehp2.). It is possible to drag and drop different colors
    347 and fonts corresponding to program or session state (active,
    348 minimized/hidden, etc.). To change the color and font
     342:p.:hp2.&tb.:ehp2. and :hp2.&wgt.:ehp2. background color as well as font and
     343text color may be changed by dragging and dropping from the respective WPS
     344palette object (while the :hp2.&tb.:ehp2. is not in :hp2.&ahm.:ehp2.). It is
     345possible to drag and drop different colors and fonts corresponding to program
     346or session state (active, minimized/hidden, etc.). To change the color and font
    349347for the task name tooltip, hold the :hp1.Shift :ehp1.key down while the
    350348tooltip is visible (this will make the tooltip remain on the screen even
     
    355353the tooltip. The colors and fonts are saved with the other program settings.
    356354
    357 :note.It is necessary to open the &pn. and click :hp1.Save:ehp1. in order to
     355:note.It is necessary to open the &pn. and click :hp2.Save:ehp2. in order to
    358356retain colors and fonts after :hp2.&lsw.:ehp2. is closed and reopened.
    359357
     
    384382with the following :hp2.&lsw.:ehp2. items&colon.
    385383
    386 :dl tsize=16 break=none.
     384:dl tsize=22 break=none.
    387385:dt.:hp2.Run...:ehp2.
    388386.br
     
    440438:edl.
    441439
     440.* ----------------------------------------------------------------------------
     441:h1 res=30200 id='30200'
     442    x=left y=bottom width=100% height=100%.&pd.
     443
     444OS/2 switches between tasks dozens of times per second, allowing active programs
     445to appear to run in parallel. This occurs on single-processor systems and
     446multi-processor (SMP) systems. As there will always be more active tasks than
     447physical processors in the system, switching is always required for
     448multitasking.
     449
     450:p.A :hp1.thread:ehp1. is OS/2's smallest running program unit for task
     451switching. A program may utilize one or more threads (sometimes many, and the
     452exact number may vary as the program runs, depending upon the type of program
     453and whether it is idle or being actively used). Because one active program may
     454have more than one thread, task switching may occur between that program's
     455threads (:hp1.multi-threading:ehp1.), as well as between threads running in
     456other programs.
     457
     458:p.The :hp1.scheduler:ehp1. is the part of the OS/2 kernel which manages thread
     459switching.
     460
     461:p.In a single thread, program instructions are executed sequentially. In a
     462multi-threaded application, it may be difficult to observe the order of
     463execution of one thread's instructions as opposed to another's. On SMP systems,
     464threads from the same application might actually run concurrently on several
     465processors. As a result, many things appear to take place simultaneously.
     466
     467:p.Applications which leverage multi-threading use multiple threads to balance
     468program operations between background operations (calculations, file I/O, etc.)
     469and foreground operations (user input or display).
     470
     471:p.Not all OS/2 software is multi-threaded. Such applications use only one
     472thread for all operations, and may cause the user interface to stop responding
     473(block) while performing processor-intensive tasks, or when other hungry
     474applications are running concurently.
     475
     476:p.A :hp1.process:ehp1. is any application which has been loaded into memory.
     477Each process must have at least one thread.
     478
     479:p.Threads may have different :hp1.priorities:ehp1.. This is where the
     480:hp2.&pd.:ehp2. is useful.
     481
     482:p.Generally, a higher priority thread is given more processor time by the
     483scheduler than a lower priority one. When more than one thread is internally
     484marked as ready, the scheduler makes a determination as to which one gets more
     485processor attention based upon its thread priority.
     486
     487:p.Threads which are currently blocked (waiting for something else, or in some
     488other way unable to be executed) do not need processor time. It is generally the
     489case that the vast majority of threads will be in the blocked state, while a
     490smaller proportion are actually ready, and thus, consuming processor attention
     491(time).
     492
     493:p.OS/2 provides four priority classes, as presented in the :hp2.&pd.:ehp2.,
     494referring to the main thread of the selected process&colon.
     495
     496:dl tsize=26 break=none.
     497:dt.:hp2.Idle-time&colon.:ehp2.
     498:dd.The lowest priority class (1). The thread only gets processor time if no
     499higher priority class threads are ready. Useful for background taks which are
     500not critical to system operation and which may be delayed until fewer active
     501tasks are in need of processor time.
     502.br
     503:dt.:hp2.Regular&colon.:ehp2.
     504:dd.The default and most used priority class (2). The OS/2 scheduler changes
     505priority levels (deltas) dynamically within this class to ensure that no thread
     506of this class is "starved" for processor time.
     507.br
     508:dt.:hp2.Foreground server&colon.:ehp2.
     509:dd.The second-highest priority class (4) for non-dynamic threads (above dynamic
     510"regular" class threads). Although this class has the value 4, time-critical
     511threads take priority over this class. As with regular threads, the scheduler
     512will dynamically manage processor time for threads within this class.
     513.br
     514:dt.:hp2.Time-critical&colon.:ehp2.
     515:dd.The highest priority class (3). A time-critical priority thread will
     516:hp1.immediately:ehp1. be given processor time without interruption until
     517it completes. (Many device drivers will yield processor time only to threads of
     518this class.)
     519.br
     520.br
     521:hp2.CAUTION&colon.:ehp2. Time-critical threads should only use the minimum
     522possible processor time because they cannot be interrupted (except by other
     523time-critical threads). Other non-time-critical threads will not run while a
     524time-critical thread is running, even if the thread itself yields the CPU via
     525DosSleep(0). This class is normally only used for network or other
     526communications, or multimedia applications which might be negatively impacted if
     527interrupted (time-sensitive I/O).
     528:edl.
     529
     530:p.Within each priority class, a thread may be set to a priority level, or
     531:hp2.Delta:ehp2.. This value (from 0 to +31) assigns the precedence of a thread
     532within its given priority class and is only used when multiple threads of the
     533same priority class require processor time.
     534
     535:p.:hp2.Include descendants:ehp2. applies the priority class and delta to all
     536threads spawned (started, either before or after making any changes here) from
     537the task's main thread.
     538
     539:p.Click :hp2.OK:ehp2. to apply the priority changes or :hp2.Cancel:ehp2. to
     540leave the dialog without saving changes.
    442541
    443542.* ----------------------------------------------------------------------------
     
    9231022:note.All languages are installed by default. If you wish to delete the extra
    9241023language resource DLL(s) make sure you change :hp1.Language:ehp1. to one you
    925 aren't going to delete, and click :hp1.Save:ehp1.. Then delete additional
     1024aren't going to delete, and click :hp2.Save:ehp2.. Then delete additional
    9261025language DLL(s) as desired.
    9271026
     
    10671166Gregg Young
    10681167
    1069 :p.We would like to thank the following people for comments, suggestions, bug
    1070 reports, and other feedback&colon.
     1168:p.We would like to thank the following people and projects for comments,
     1169suggestions, bug reports, and other feedback&colon.
    10711170
    10721171:p.Doug Bissett
     
    10861185Tim Erickson
    10871186.br
    1088 Alfredo Fernandez Diaz
     1187Alfredo Fern ndez D¡az
    10891188.br
    10901189Javier Arias Fernandez
     
    11551254.br
    11561255Vladislav Zhuk
     1256.br
     1257The XWorkplace project (the &pd. topic background information was based heavily
     1258upon the XWorkplace documentation) https&colon.//trac.netlabs.org/xworkplace
    11571259
    11581260:p.Special thanks to the following people who provided translation of the
     
    11621264:p.Tomas Hajny &emdash. Czech translation
    11631265.br
    1164 Alfredo Fernandez Diaz &emdash. Spanish translation
     1266Alfredo Fern ndez D¡az &emdash. Spanish translation
    11651267
    11661268
     
    11771279
    11781280:p.If you find a defect or wish to request an enhancement please file a ticket
    1179 at http&colon.//trac.netlabs.org/lswitcher
     1281at https&colon.//trac.netlabs.org/lswitcher
    11801282
    11811283:p.Mailing Lists
     
    12111313
    12121314:p.The full source code is available from
    1213 http&colon.//svn.netlabs.org/repos/lswitcher/trunk .
     1315https&colon.//svn.netlabs.org/repos/lswitcher/trunk .
    12141316.br
    12151317See https&colon.//trac.netlabs.org/lswitcher for details.
     
    12471349:fn id='debug'.
    12481350
    1249 :p.We recommend you install exceptq. It can be found on Hobbes
    1250 http&colon.//hobbes.nmsu.edu or installed using the Arca
    1251 Noae Package Manager. With exceptq installed, the :hp2.&tb.:ehp2. will
     1351:p.We recommend you install Exceptq. It can be found on Hobbes
     1352https&colon.//hobbes.nmsu.edu or installed using the Arca
     1353Noae Package Manager. With Exceptq installed, the :hp2.&tb.:ehp2. will
    12521354generate a &asterisk..TRP file in the :hp2.&lsw.:ehp2. directory if a serious
    12531355problem occurs.
     
    12561358:hp2.XWPLOG.LOG:ehp2. in the root of the boot volume or in the directory
    12571359specified by the &percent.LOGFILES&percent. variable in :hp2.CONFIG.SYS:ehp2.
    1258 (usually, :hp2.\VAR\LOG:ehp2.).
     1360(usually, :hp2.&lt.BootDrive&gt.&colon.\VAR\LOG:ehp2.).
    12591361:efn.
    12601362
     
    13081410:note.:hp1.SIGKILL:ehp1. is only available if :hp1.XF86SUP.SYS:ehp1. or
    13091411:hp1.CADH.SYS:ehp1. process killer driver is installed. :hp1.XF86SUP.SYS:ehp1. is
    1310 available on Hobbes&colon. :hp1.CADH.SYS:ehp1. is part of the Arca OS and eCS
     1412available on Hobbes&colon. :hp1.CADH.SYS:ehp1. is part of the ArcaOS and eCS
    13111413default installations.
    13121414.br
    1313 http&colon.//hobbes.nmsu.edu/
     1415https&colon.//hobbes.nmsu.edu/
    13141416
    13151417:dt.:hp2.Priority...:ehp2.
    13161418:dd.Opens a dialog to allow setting process priority and delta, as well as
    1317 a checkbox to apply such changes to the task's descendants. Click OK to apply
    1318 the priority changes or Cancel to leave the dialog without saving changes.
     1419a checkbox to apply such changes to the task's descendants. See
     1420:link reftype=hd refid='30200'.&pd.:elink. for more information.
    13191421:dt.:hp2.Add filter:ehp2.
    13201422:dd.Adds selected task to the :hp2.&tb.'s:ehp2. Exclude filters. The task's icon
     
    13541456:dt.:hp2.Priority...:ehp2.
    13551457:dd.Opens a dialog to allow setting process priority and delta, as well as
    1356 a checkbox to apply such changes to the task's descendants. Click OK to apply
    1357 the priority changes or Cancel to leave the dialog without saving changes.
     1458a checkbox to apply such changes to the task's descendants. See
     1459:link reftype=hd refid='30200'.&pd.:elink. for more information.
    13581460:dt.:hp2.Add filter:ehp2.
    13591461:dd.Adds selected task to the :hp2.&tb.'s:ehp2. Exclude filters. The task's icon
     
    13911493:dt.:hp2.Priority...:ehp2.
    13921494:dd.Opens a dialog to allow setting process priority and delta, as well as
    1393 a checkbox to apply such changes to the task's descendants. Click OK to apply
    1394 the priority changes or Cancel to leave the dialog without saving changes.
     1495a checkbox to apply such changes to the task's descendants. See
     1496:link reftype=hd refid='30200'.&pd.:elink. for more information.
    13951497:dt.:hp2.Add filter:ehp2.
    13961498:dd.Adds selected task to the :hp2.&tb.'s:ehp2. Exclude filters. The task's icon
     
    14361538:dt.:hp2.Priority...:ehp2.
    14371539:dd.Opens a dialog to allow setting process priority and delta, as well as
    1438 a checkbox to apply such changes to the task's descendants. Click OK to apply
    1439 the priority changes or Cancel to leave the dialog without saving changes.
     1540a checkbox to apply such changes to the task's descendants. See
     1541:link reftype=hd refid='30200'.&pd.:elink. for more information.
    14401542:dt.:hp2.Add filter:ehp2.
    14411543:dd.Adds selected task to the :hp2.&tb.'s:ehp2. Exclude filters. The task's icon
Note: See TracChangeset for help on using the changeset viewer.