亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? ctask.doc

?? 用TC2實(shí)現(xiàn)的DOS多任務(wù)功能
?? DOC
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
        TSK_DYNLOAD
             If FALSE, this instance of the kernel does not include
             dynamic allocation routines. Setting this flag to FALSE when
             TSK_DYNAMIC is TRUE only makes sense with multiple linked
             kernels. A resident kernel might not employ dynamic
             allocation, whereas a secondary kernel needs it. In this
             situation, TSK_DYNAMIC must be set in the primary so that
             the task kill code is included and the kernel configurations
             match, but TSK_DYNLOAD may be false to prevent inclusion of
             the malloc/free run-time routines. This option has no effect
             if TSK_DYNAMIC is FALSE. The default is TRUE.

             This option is normally enabled (TRUE).

        TSK_NAMEPAR
             If TRUE, all create_xxx calls accept an additional
             parameter, the name of the created control block. This name
             should contain only printeable characters, and should not be
             longer than 8 characters plus the zero terminator. This
             option is used together with TSK_NAMED (see below).

             This option is normally enabled (TRUE).
             It must be enabled for DOS.


        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 17


        TSK_NAMED
             If TRUE, all control blocks (except timer control blocks)
             are named and linked on creation. This allows the snapshot
             dump routine to display the system state, and also allows
             linking to control blocks from secondary kernels.
             TSK_NAMEPAR must be defined for this option to work. Since
             it may be desirable to switch off the handling of the names
             after the debugging phase, without having to change all
             create_xxx calls to omit the name parameter, the name
             parameter is ignored if TSK_NAMED is undefined, but
             TSK_NAMEPAR is defined.

             This option is normally enabled (TRUE).
             It must be enabled for DOS.

        GROUPS
             If enabled, task groups, i.e. multiple invocations of CTask,
             are supported.

             This option is normally enabled (TRUE).
             It must be enabled for DOS.

        CLOCK_MSEC
             If TRUE, all timeouts are specified in milliseconds instead
             of timer ticks. This allows programming of delays and
             timeouts independent of the speedup-parameter or the system
             tick rate.

             This option is normally disabled (FALSE).

        PRI_TIMER
             Specifies the priority of the timer task. Normally the timer
             task should have a higher priority than any other task in
             the system.

             The value is normally 0xf000.

        PRI_STD
             This value may be used in your programs as the standard
             priority of user tasks. Its value is arbitrary. It is not
             used in the kernel except for the definition of PRI_INT9
             (see below).

             The value is normally 100 (decimal).









        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 18


        PRI_INT8
             Determines the priority of the "int8"-task. This task chains
             to the previous interrupt vector for the sytem timer tick,
             and thus may activate resident TSR's. Since TSR's normally
             use polling when accessing the keyboard and other devices,
             the priority of the int8-task should be equal to or lower
             than normal user-defined tasks to allow your program to con-
             tinue to run while the TSR is active. You can tune this
             value so that some tasks are blocked by the TSR to avoid
             trashing the screen.

             The value is normally  PRI_STD.

        AT_BIOS
             If enabled, the AT BIOS wait/post handler is installed. May
             be disabled when compatibility problems arise. You can also
             disable installation of this handler with an install flag in
             the install_tasker call, but using the configuration flag
             will save some code. Embedded systems likely will use FALSE.

             This option is normally enabled (TRUE).

        INT8_EARLY
             If TRUE, the timer interrupt always uses early INT8 proces-
             sing, regardless of the IFL_INT8_EARLY installation flag.
             Setting this flag saves some code and data, but eliminates
             some flexibility. Under DOS, timer ticks can be missed under
             certain circumstances when set, so DOS based configurations
             always should use FALSE. The installation flag has a
             slightly different effect, and may be used under DOS with no
             adverse effects. Embedded systems likely will always use
             TRUE.

             This option is normally disabled (FALSE).

        INT8_LATE
             If TRUE, the timer interrupt always uses late INT8 proces-
             sing, regardless of the IFL_INT8_EARLY installation flag.
             Setting this flag saves some code, but eliminates some
             flexibility. Embedded systems likely will always use FALSE.

             This option is normally disabled (FALSE).

        IBM
        DOS
             Both IBM and DOS are more or less of informative value only,
             to point out those areas in the kernel that need attention
             when converting to non-IBM or non-DOS environments.
             Disabling one or both of this options requires the
             substitution of your own routines for installation, timer,
             and keyboard handling.

             Both options must normally be enabled (TRUE).
        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 19


        SINGLE_DATA
             If enabled, only a single global data block is used. This
             speeds up processing, but prohibits linkage of multiple
             groups. Useful for dedicated systems, and also if your
             program is known to never interact with another copy of
             CTask. Should be left FALSE if you're not so sure, must be
             FALSE if GROUPS is enabled. The current version of the DOS
             handler requires GROUPS to be used, so it should only be
             TRUE for embedded systems.

             This option is normally disabled (FALSE).

        EMS
             If TRUE, EMS support is included. For DOS applications using
             spawn or going TSR, this should always be TRUE, unless it is
             known that the program will never be executed in an EMS
             environment. It must also be TRUE for programs using EMS.

             This option is normally enabled (TRUE).

        EMS_SAVE_SIZE
             Size of the EMS page info save area. For LIM 4.0 drivers,
             only four pages are saved, so 16 bytes should be sufficient.
             If the partial page map function is not available in the
             driver, more space may be required for holding the full page
             map.

             The value is normally 16.

        NDP
             If TRUE, 80x87 support is included. If this option is
             enabled, and no coprocessor is present, the machine can hang
             if the BIOS equipment configuration is set incorrectly.
             NOTE: Coprocessor support is not yet tested. Please report
             your experiences with this option.

             This option is normally disabled (FALSE).

        HOTKEYS
             If TRUE, keyboard hotkey support is included. Embedded
             systems likely will not use hotkeys, and may set this to
             FALSE.

             This option is normally enabled (TRUE).


        CHECKING
             Enables pointer and stack checks when TRUE. Checking
             pointers and task stacks slows down the system, but it is
             highly recommended to enable this option during development.
             Only turn off checking after debugging is complete.

             This option is normally disabled (FALSE).
        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 20


                                Memory Allocation

        TSKALLOC.C is needed if TSK_DYNAMIC is enabled in tskconf.h to
        handle the allocation and free calls. If you want to use dynamic
        allocation in your own tasks, you should also use the functions
        tsk_alloc and tsk_free to avoid the reentrancy problems mentioned
        in the introduction. If you should need other forms of alloc
        (like calloc) the recommended way is to add those functions to
        TSKALLOC.C, requesting the resource alloc_resource before calling
        the C memory-allocation function.

        Joe Urso provided the following tip on how to force all memory
        allocation to pass through the resource handling functions:

        "I have found that some MS Library functions call the allocate
        and free library functions, namely the first call to fread(),
        fopen(), and fclose().

        To fix this situation I have

           - extracted FMALLOC from the llibce library,

           - renamed the functions within that object (via the Norton
             Utilities) to the upper case spelling of the functions
             (FREE, MALLOC, _FFREE and _FMALLOC) and replaced the file in
             the lib. I also did the same for object EXPAND because of
             the function REALLOC.

           - then modified TSKALLOC.C to contain the lower case spelling
             of malloc, free, and expand. These functions aquire the
             alloc resource, then call the upper case spelling of the
             name.

        At link time I now link with /NOIGNORECASE and /NODEFAULTLIB."

        An option is provided in tskalloc.c to compile the module with
        the modifications suggested by Joe Urso.


                                     Snapshot

        TSKSNAP.C is only needed if you want to include the snapshot dump
        into your program. Note that you can *not* use snapshot if you
        disable TSK_NAMED in tskconf.h.









        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -             Page 21


                                   Task Stacks

        When compiling your application, turn stack checking off. The
        standard stack check is of little use with task stacks, and may
        interfere with CTask's operation. The stack area for tasks should
        be allocated on the main program's stack, not in the static or
        heap data space. The reason for this is that some of the C
        library routines check for stack overflow regardless of your
        compile-time switches, and will crash your application if you use
        stacks outside the normal stack. The stack allocation parameter
        with LINK (MS-C), or the _stacksize variable (Turbo C) have to be
        increased to reflect the additional stack space. When calculating
        task stack sizes, keep in mind that library routines (esp.
        printf) allocate a lot of space on the stack for temporary
        variables. A minimum of 1k for tasks using library routines is
        recommended, 2k puts you on the safe side. Tasks not using C
        library routines may use a smaller stack, about 256 bytes at a
        minimum, plus space for any local variables and nested routines.
        Then add up all task stacks, and add space for the main task (the
        function calling install_tasker), with this size also dependent
        on what you will do in the main task while CTask is active.
        Stacks for tasks that do not use C library routines may be
        allocated anywhere.

        If you have the CHECKING option enabled, the snapshot dump will
        output the number of unused bytes of sta

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av亚洲精华国产精华| 欧美视频一区在线| 久久国产三级精品| 日韩一区欧美小说| 欧美一区二区三区免费大片| 日本大香伊一区二区三区| 国产成人精品一区二区三区四区 | 国产精品久久久久桃色tv| 日韩欧美亚洲国产另类| 欧美亚洲日本一区| 91视频在线观看免费| 高清国产一区二区| 国产精品99久久久久久久vr| 日韩电影一区二区三区四区| 一区二区三区四区亚洲| 亚洲国产成人午夜在线一区| 久久久久久日产精品| 欧美电影免费观看高清完整版在| 欧美色图在线观看| 色婷婷综合久久久久中文| 不卡电影一区二区三区| 99久久99久久久精品齐齐| 成人综合婷婷国产精品久久 | 精品影院一区二区久久久| 青青草成人在线观看| 日韩精品一二区| 免费人成黄页网站在线一区二区| 亚洲va欧美va国产va天堂影院| 亚洲综合一区二区精品导航| 一区二区免费在线| 亚洲成在人线免费| 日本成人在线视频网站| 久久福利资源站| 国产自产2019最新不卡| 国产精品99久久久久久似苏梦涵| 懂色一区二区三区免费观看 | 成人一级片在线观看| 国产69精品久久久久毛片| 成人在线视频首页| 91麻豆精品在线观看| 在线影院国内精品| 91丨porny丨中文| 欧美亚洲国产一区在线观看网站| 在线观看日韩毛片| 91高清在线观看| 91国偷自产一区二区使用方法| 久久久久久久久久久99999| 日本一区二区三区在线观看| 亚洲欧洲国产日本综合| 亚洲午夜激情av| 蜜臀久久99精品久久久久久9 | 成人av先锋影音| 国产91精品免费| 色婷婷综合久久久久中文一区二区| 欧美三级一区二区| 欧美不卡一二三| ...xxx性欧美| 亚洲成人资源网| 黄一区二区三区| 在线免费视频一区二区| 精品国产露脸精彩对白| 日韩一区在线免费观看| 天堂一区二区在线| 国产精品88av| 欧美日韩电影在线| 国产午夜精品福利| 亚洲男同性恋视频| 精品一区二区三区久久久| 97精品国产97久久久久久久久久久久| 成人激情综合网站| 欧美精品在线一区二区三区| www亚洲一区| 亚洲精品国产无天堂网2021| 精品一区二区在线视频| 91免费在线看| 欧美精品一区二区三区蜜臀| 一区二区三区在线免费视频| 蜜臀av一区二区| 色婷婷综合五月| 91麻豆精品久久久久蜜臀| 最新热久久免费视频| 麻豆精品一区二区| 色94色欧美sute亚洲线路二 | 亚洲区小说区图片区qvod| 亚洲精品高清视频在线观看| 国产综合色在线视频区| 欧美日本视频在线| 亚洲欧美怡红院| 韩国理伦片一区二区三区在线播放| 色欧美片视频在线观看| 欧美—级在线免费片| 亚洲综合免费观看高清完整版| 国产一区二区三区四区五区入口| 欧美日韩成人综合天天影院 | 欧美人与z0zoxxxx视频| 亚洲三级免费电影| 国产精品亚洲一区二区三区妖精 | 26uuu另类欧美亚洲曰本| 亚洲免费观看高清完整版在线| 国产在线视频一区二区三区| 欧美日韩国产天堂| 国产精品久久午夜夜伦鲁鲁| 国产麻豆精品95视频| 精品少妇一区二区三区日产乱码 | 极品美女销魂一区二区三区| 欧美肥妇free| 一区二区三区.www| 91性感美女视频| 日本一区二区三区视频视频| 五月天精品一区二区三区| 色综合天天综合给合国产| 日本一区二区三级电影在线观看| 美日韩一区二区| 欧美日韩国产另类一区| 亚洲国产欧美在线人成| 在线精品视频一区二区三四 | 亚洲第一主播视频| 欧美伊人久久大香线蕉综合69| 91精品免费在线| 久久se精品一区精品二区| 久久五月婷婷丁香社区| 国产精品一区二区你懂的| 国产欧美日韩另类视频免费观看| 国产成人一区二区精品非洲| 亚洲三级久久久| 精品视频一区二区三区免费| 免费成人av在线播放| 久久久久九九视频| 成人永久免费视频| 一区二区三区四区高清精品免费观看 | 精品乱人伦小说| 国产91精品露脸国语对白| 亚洲人妖av一区二区| 精品视频123区在线观看| 日韩中文字幕不卡| 久久精品一区蜜桃臀影院| 不卡一卡二卡三乱码免费网站| 亚洲视频网在线直播| 欧美日韩精品一区二区三区| 久久爱另类一区二区小说| 中文字幕永久在线不卡| 欧美日韩不卡一区| 国产成人精品亚洲日本在线桃色| 国产精品的网站| 欧美一区二区三区小说| 国产激情视频一区二区三区欧美 | 久久久亚洲综合| 色av成人天堂桃色av| 久久99国产精品麻豆| 亚洲乱码国产乱码精品精98午夜| 91精品国产91久久久久久一区二区 | 色噜噜狠狠色综合中国| 蜜桃av噜噜一区| 1000部国产精品成人观看| 欧美精品久久天天躁| 成人午夜激情片| 蜜芽一区二区三区| **性色生活片久久毛片| 精品久久久久一区| 欧美色综合网站| 成人av综合一区| 免费在线一区观看| 一级特黄大欧美久久久| 国产亚洲欧美在线| 91精品国产免费| 色综合咪咪久久| 国产成人精品亚洲午夜麻豆| 午夜免费久久看| 1024成人网| 国产三级三级三级精品8ⅰ区| 欧美午夜精品一区二区三区| 成人午夜大片免费观看| 麻豆免费精品视频| 性做久久久久久免费观看欧美| 国产日韩欧美不卡在线| 欧美成人欧美edvon| 欧美色综合久久| 91色九色蝌蚪| 国产超碰在线一区| 精品一区二区三区香蕉蜜桃 | 一本色道久久加勒比精品| 国产传媒日韩欧美成人| 久久精品国产亚洲高清剧情介绍| 亚洲一区二区高清| 国产精品少妇自拍| 国产亚洲一本大道中文在线| 欧美一区二区三区人| 欧美探花视频资源| 91丨九色丨尤物| 99久久精品国产麻豆演员表| 国产成人8x视频一区二区| 国模冰冰炮一区二区| 久久99在线观看| 麻豆精品蜜桃视频网站| 日韩av电影天堂| 日韩精品五月天| 日韩一区精品字幕| 日韩在线卡一卡二| 日韩精品视频网| 美女网站视频久久|