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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ctask.doc

?? 用TC2實現的DOS多任務功能
?? DOC
?? 第 1 頁 / 共 5 頁
字號:















                                      CTask

                           A Multitasking Kernel for C



                          Version 2.2  Released 90-10-12




                        Public Domain Software written by

                                  Thomas Wagner

                             Ferrari electronic GmbH



                                     Contents


        About this Manual                                               1

        Introduction                                                    2
          An Example                                                    2
            Switching the Context                                       2
            You have Mail                                               3
            Reentrancy and Resources                                    3
            DOS Access                                                  4
            Handling the Keyboard                                       4
            Serial I/O and Timeouts                                     5
            Priorities                                                  5
          Change to your liking                                         5

        General Notes                                                   7
          What can CTask NOT be used for?                               7
          What is required to use CTask?                                7
          Do I have to pay for using CTask?                             8
          What support can I expect?                                    9
          About this Release                                           10

        Multitasking Basics                                            11
          Tasks                                                        11
          Events                                                       11
          Reentrancy                                                   12
          Deadlocks                                                    13

        Using CTask                                                    15
          Configuration Options                                        15
          Memory Allocation                                            21
          Snapshot                                                     21
          Task Stacks                                                  22
          Drivers                                                      22
          Things to remember                                           23
          Priority Handling                                            23

        Multitasking and DOS                                           25
          Spawning and CTask TSR's                                     26
          Task Groups                                                  27

        How does CTask work                                            29
          Queues                                                       29
          The Scheduler                                                30
          Events                                                       30
            Resources                                                  30
            Flags                                                      31
            Counters                                                   31
            Mailboxes and Pipes                                        31
          Serial and Printer Drivers                                   32


        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -          Contents 1


        CTask Data Types                                               34
          Other definitions                                            35
          Typedefs used for simplified type specifications             36
          Error return values for event wait functions                 37
          Queues                                                       37
          The timer/watch/hotkey control block                         38
          The name link structure                                      43
          The task control block structure                             43
          Task states                                                  46
          Task flags                                                   47
          The Group Control Block                                      48
          The event control blocks                                     49
            The Ticker structure                                       49
            The flag event structure                                   50
            The counter event structure                                50
            The resource event structure                               51
            The mailbox event structure                                51
            The pipe and word pipe event structure                     51
            The buffer event structure                                 52
            The call chain structure                                   53

        CTask Routines                                                 54
          Global Variables                                             54
          Installation and Removal                                     54
          Searching for names                                          57
          Adding names                                                 58
          Remove Functions                                             58
          Preemption and Scheduling                                    59
          Miscellaneous                                                60
          Task Operations                                              62
          Timer Operations                                             64
          Event wait Timeouts                                          65
          "Tickers"                                                    65
          Delays                                                       66
          Timed Events, Watch Events, and Hotkeys                      66
          Event Operations                                             75
            Resources                                                  75
            Flags                                                      77
            Counters                                                   79
            Mailboxes                                                  81
            Pipes                                                      83
            Buffers                                                    86
          The Keyboard Handler                                         88
          The Serial I/O handler                                       88
          The Printer Output Driver                                    94
          Support Modules                                              96
            Memory Allocation Interface                                96
            Printf replacements                                        97
            Snapshot Dump                                             100




        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -          Contents 2


        Advanced Topics                                               101
          Primary and Secondary Kernels                               101
          TSR, Spawning, and EMS                                      104
          Functions called by Kernel Routines                         105

        Some notes on potential trouble spots                         107
          Turbo C console output                                      107
          The timer tick EOI                                          107
          Debugging                                                   108

        Changes from Previous Versions                                109
          Changes for CTask 2.1 to 2.2                                109
            Version 2.2 Interface Changes                             111
          Changes for CTask 2.0 to 2.1                                112
            Version 2.1 Interface Changes                             115
          Changes for CTask 1.2 to 2.0                                116
            Version 2.0 Interface Changes                             116
          Changes for CTask 1.1b to 1.2                               118
          Changes for CTask 1.1 to 1.1b                               120
          Changes for CTask 0.1 to 1.1                                120

































        
        
        Ctask Manual       - Version 2.2 - 90-10-12 -          Contents 3


                                About this Manual

        If you are new to CTask, I would suggest reading all chapters
        before attempting to build your first application. One chapter
        you can skip is the CTask Data Types section, since you are not
        required to know about the innards of CTask's structures. You can
        also ignore the List of Changes.

        If you are updating from version 2.0, read the List of Changes,
        and the new Advanced Topics section. The chapters on Data Types
        and Routines, and the Using CTask section, also contain new
        information. All other chapters are basically unchanged.

        Version 2.1 users will find little new information here. The
        changes in the data structures, and the new routines, are
        reflected here, but if you're short on paper, it should be
        sufficient to print just the list of changes.

        If you are updating from an older release, the List of Changes at
        the end is for you. You can safely skip the Introduction, and the
        section on Multitasking Basics. In the General Notes, you should
        read the section on support and the info about this release. In
        the Using CTask section, check the new configuration options, and
        the chapter on Memory Allocation. Check the Routine descriptions,
        and, if you are using internal data structures directly, the Data
        Type descriptions, for changes. The Advanced Topics section is
        new.


        Finally, a note to German speaking readers:

        Dieses Handbuch, wie auch die Kommentare im Quellcode, ist in
        Englisch abgefa醫, da dies die universelle Sprache f乺 Computer-
        benutzer weltweit ist. Es gibt keine deutsche Version, und es
        wird voraussichtlich auch keine geben (sofern nicht jemand bereit
        ist einen angemessenen Betrag f乺 eine 歜ersetzung auf den Tisch
        des Hauses zu legen). Selbstverst刵dlich bleibt es Ihnen
        unbenommen, das Handbuch selbst zu 乥ersetzen und diese Version
        auch zu vertreiben, oder mir zum Vertrieb anzubieten. Wie die
        Software ist auch dieses Handbuch Public Domain.













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

                                   Introduction

        CTask is a set of routines that allow your C program to execute
        functions in parallel, without you having to build in sophisti-
        cated polling and switching schemes. CTask handles the switching
        of processor time with a priority based, preemptive scheduler,
        and provides a fairly complete set of routines for inter-task
        communication, event signalling, and task interlocking. CTask
        also includes a number of drivers for MS-DOS that build on the
        basic functions to allow you to include serial I/O, printer
        buffering, and concurrent access to DOS functions into your
        programs with little programming effort.


                                    An Example

        To illustrate one possible use of CTask, let me elaborate on the
        following example. Say you just finished your nifty telecommuni-
        cations program, complete with download protocols, scripts, and
        everything.  But wouldn't it be nice to be able to print the file
        you just downloaded while receiving the next, and edit a comment
        to some previous message without interrupting the transmission?
        So you take those editor routines from a previous project, plug
        them in, and - oops, how do you switch back and forth between
        editing, communication and printing? The answer to this is CTask.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲午夜高清国产拍精品| 久久99国产精品久久99果冻传媒| 亚洲成人一区在线| 青青国产91久久久久久| 国产剧情一区二区| 91日韩一区二区三区| 8x8x8国产精品| 久久久不卡网国产精品一区| 亚洲色图在线播放| 久久电影网站中文字幕| av成人免费在线| 日韩欧美国产一区二区在线播放| 亚洲一区二区av在线| 日av在线不卡| 日本高清不卡视频| 久久蜜臀精品av| 丝瓜av网站精品一区二区| 成人午夜激情在线| 欧美一级艳片视频免费观看| 亚洲三级电影全部在线观看高清| 蜜臀va亚洲va欧美va天堂 | 欧美一级欧美一级在线播放| 亚洲美女视频在线观看| 国产在线国偷精品免费看| 欧美体内she精高潮| 亚洲欧美怡红院| 国产乱人伦精品一区二区在线观看| 色婷婷久久久亚洲一区二区三区| 久久久久久久久久美女| 国内成人精品2018免费看| 欧美视频一区二区三区在线观看| 最新国产成人在线观看| 成人免费观看av| 亚洲欧洲三级电影| 成人av先锋影音| 日本一区二区三区在线观看| 国产99久久久国产精品免费看| 亚洲精品在线电影| 国产原创一区二区三区| 精品动漫一区二区三区在线观看| 免费成人美女在线观看| 日韩三级中文字幕| 久久99精品一区二区三区| 26uuu国产一区二区三区| av高清不卡在线| 国产精品免费看片| 欧美影视一区二区三区| 五月激情综合网| 精品剧情在线观看| 成人综合日日夜夜| 亚洲欧洲精品一区二区精品久久久| 91视频xxxx| 午夜精品一区二区三区免费视频 | 亚洲精品高清视频在线观看| 欧美日本国产视频| 激情五月激情综合网| 国产精品丝袜久久久久久app| 91在线播放网址| 日韩国产高清影视| 久久婷婷色综合| 在线亚洲+欧美+日本专区| 天天影视网天天综合色在线播放| 日韩精品一区二区在线| 91蜜桃网址入口| 麻豆精品国产91久久久久久| 国产精品久久久久一区二区三区| 中文字幕在线免费不卡| 777色狠狠一区二区三区| 国产精品一区在线观看乱码| 日本不卡视频在线观看| 成人午夜在线视频| 中文字幕在线观看一区| 国产日产欧产精品推荐色| 欧美成人一区二区三区片免费| 欧美日韩精品专区| 欧美一区二区日韩| 91精品麻豆日日躁夜夜躁| 国产一区免费电影| 亚洲中国最大av网站| 久久精品一二三| 91精品中文字幕一区二区三区| 国产a视频精品免费观看| 日本网站在线观看一区二区三区 | 国产传媒一区在线| 日本系列欧美系列| 亚洲一二三区视频在线观看| 国产色产综合产在线视频| 欧美精品欧美精品系列| 精品美女在线播放| 精品国产一区二区三区av性色| 欧美一区二区在线播放| 欧美一二三四在线| 精品久久人人做人人爽| 久久这里只有精品6| 精品久久久久一区二区国产| 精品久久久久久无| 久久久久久久久久电影| 国产欧美综合在线观看第十页| 久久精品亚洲国产奇米99| 国产精品女人毛片| 亚洲欧美日韩国产另类专区| 亚洲美女视频在线| 图片区日韩欧美亚洲| 久色婷婷小香蕉久久| 国产专区综合网| 99re热视频精品| 欧美亚洲禁片免费| 国产亚洲福利社区一区| 亚洲图片一区二区| 国产**成人网毛片九色 | 久久综合成人精品亚洲另类欧美 | 久久精品日韩一区二区三区| 亚洲不卡av一区二区三区| 精品一区二区三区欧美| 99久久99久久综合| 精品第一国产综合精品aⅴ| 亚洲日本va午夜在线影院| 日韩精品久久理论片| 成人丝袜高跟foot| 欧美一区二区三区四区五区| 国产精品久久久99| 蜜桃精品视频在线| 在线观看亚洲精品视频| 国产网站一区二区三区| 麻豆视频一区二区| 欧美在线免费观看亚洲| 中文字幕欧美三区| 久久99精品国产麻豆婷婷洗澡| 91在线国产观看| 国产精品日韩精品欧美在线| 久久精品999| 91精品国产一区二区三区| 一二三四区精品视频| 99久久国产综合精品色伊| 日韩精品中文字幕一区| 视频一区二区中文字幕| 色成年激情久久综合| 自拍偷拍亚洲欧美日韩| 成人高清伦理免费影院在线观看| www久久精品| 激情图片小说一区| 欧美成人a在线| 麻豆免费看一区二区三区| 日韩视频123| 国产一区不卡视频| 久久久亚洲综合| 国产酒店精品激情| 国产日韩一级二级三级| 成人禁用看黄a在线| 中文字幕av不卡| 色婷婷综合久色| 夜夜嗨av一区二区三区中文字幕| 91麻豆精品秘密| 亚洲一级二级三级在线免费观看| 欧美日韩在线综合| 日韩成人伦理电影在线观看| 精品欧美乱码久久久久久| 国产在线播放一区二区三区| 中文字幕一区二区在线观看 | 欧美电影免费观看高清完整版在线观看| 男男gaygay亚洲| 欧美国产国产综合| 欧美亚洲丝袜传媒另类| 男男成人高潮片免费网站| 亚洲国产岛国毛片在线| 欧美婷婷六月丁香综合色| 久久精品国产成人一区二区三区 | 久久伊99综合婷婷久久伊| 91在线国内视频| 开心九九激情九九欧美日韩精美视频电影 | 国产亚洲精品aa午夜观看| 欧美综合色免费| 国产精品1区二区.| 9i在线看片成人免费| 免费欧美日韩国产三级电影| 国产精品国产三级国产普通话99 | 色偷偷成人一区二区三区91 | 色婷婷久久综合| 国产伦精一区二区三区| 亚洲大片精品永久免费| 国产亚洲综合av| 精品日韩欧美在线| 7777精品伊人久久久大香线蕉的 | 国产精品自在欧美一区| 青青青伊人色综合久久| 亚洲精品免费电影| 国产精品蜜臀av| 久久久久青草大香线综合精品| 欧美高清dvd| 欧美日韩免费观看一区三区| 成人av动漫在线| 成人网男人的天堂| 国产成人综合网站| 国产二区国产一区在线观看| 精品亚洲国产成人av制服丝袜| 婷婷开心激情综合| 亚洲福利视频一区二区| 亚洲婷婷在线视频| 综合色中文字幕| 国产精品的网站|