亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产高清在线精品| 国产精一区二区三区| 成熟亚洲日本毛茸茸凸凹| 欧美天天综合网| 国产欧美一区二区三区鸳鸯浴| 亚洲国产日韩一区二区| 成人爱爱电影网址| 日韩欧美电影一区| 视频一区中文字幕| aa级大片欧美| 国产片一区二区| 久久国产成人午夜av影院| 欧美日韩不卡一区| 亚洲日本一区二区三区| 成人毛片在线观看| 久久先锋影音av| 久久成人免费电影| 91精品麻豆日日躁夜夜躁| 亚洲精品美国一| 成人ar影院免费观看视频| 亚洲精品在线电影| 欧美a一区二区| 88在线观看91蜜桃国自产| 亚洲一区二区在线播放相泽| 色一区在线观看| 亚洲视频免费在线观看| a美女胸又www黄视频久久| 国产免费久久精品| 国产精品91xxx| 国产欧美日韩另类一区| 国产在线国偷精品产拍免费yy | 国产精品五月天| 日韩久久一区二区| 日本欧美久久久久免费播放网| 色一情一乱一乱一91av| 最新欧美精品一区二区三区| 成人国产精品免费| 欧美国产激情一区二区三区蜜月| 国产精品888| 国产欧美一区二区精品忘忧草| 国产在线观看免费一区| 亚洲精品在线三区| 国产一区高清在线| 久久久久9999亚洲精品| 国产成人av在线影院| 亚洲国产高清aⅴ视频| 成人性生交大合| 中文字幕日本不卡| 91福利社在线观看| 亚洲一区二区欧美日韩| 91精品婷婷国产综合久久| 美女视频黄久久| 久久综合久久综合久久| 国产精品亚洲专一区二区三区| 久久精品人人做人人综合| 成人一区在线观看| 亚洲私人黄色宅男| 在线免费精品视频| 水野朝阳av一区二区三区| 91精品国产一区二区三区香蕉| 六月丁香婷婷色狠狠久久| 久久综合久久综合亚洲| 成人精品电影在线观看| 一区二区三区在线视频免费观看 | 蜜臀av在线播放一区二区三区 | 一区二区三区视频在线看| 在线观看视频一区| 亚洲成人av中文| 日韩欧美高清一区| 国产91丝袜在线播放0| 亚洲另类色综合网站| 欧美日本在线观看| 狠狠色丁香九九婷婷综合五月| 国产日韩一级二级三级| 91啦中文在线观看| 日日骚欧美日韩| 久久久久久久性| 一本到不卡免费一区二区| 婷婷一区二区三区| 久久精品亚洲一区二区三区浴池| 91视频com| 蜜臀av性久久久久蜜臀aⅴ流畅| 久久精品一级爱片| 欧美影院精品一区| 国产一区二区三区高清播放| 亚洲色图欧洲色图| 欧美xxxxx牲另类人与| av激情亚洲男人天堂| 天天综合网天天综合色| 国产三级三级三级精品8ⅰ区| 91黄色免费网站| 精品一区二区三区视频| 亚洲色图一区二区三区| 日韩一级片网站| 99久久精品情趣| 日韩精品福利网| 国产精品成人一区二区三区夜夜夜| 欧美日韩在线播放三区| 高清在线观看日韩| 视频一区视频二区在线观看| 国产日韩欧美a| 91精品国产综合久久久久久久久久 | 91蜜桃视频在线| 国产精品亚洲一区二区三区妖精| 欧美午夜免费电影| 欧美激情中文不卡| 国产主播一区二区三区| 老司机午夜精品99久久| 亚洲资源在线观看| 精品乱人伦小说| 国产精品99久久久久久宅男| 日韩精品中午字幕| 日韩三级伦理片妻子的秘密按摩| 国产在线精品免费| 国产精品高潮呻吟| 在线电影欧美成精品| 国产一区二区三区国产| 中文字幕一区二区不卡| 色88888久久久久久影院按摩| 久久人人97超碰com| 亚洲老司机在线| 日韩成人精品在线| 91精品久久久久久久99蜜桃 | 欧美浪妇xxxx高跟鞋交| 欧美不卡一区二区三区| 激情丁香综合五月| 在线观看免费亚洲| 1区2区3区国产精品| 亚洲一区二区三区四区中文字幕| 精品美女一区二区三区| 精品视频在线免费观看| av亚洲精华国产精华| 国产很黄免费观看久久| 精品一区二区成人精品| 免费看精品久久片| 视频一区二区欧美| 亚洲一区在线观看网站| 亚洲男帅同性gay1069| 国产精品夫妻自拍| 国产精品女主播av| 亚洲国产高清在线| 国产精品天天看| 日本一区二区综合亚洲| 久久久午夜精品| 久久婷婷久久一区二区三区| 精品久久人人做人人爰| 日韩三级.com| 日韩一卡二卡三卡四卡| 91精品免费观看| 日韩亚洲国产中文字幕欧美| 欧美精品18+| 6080国产精品一区二区| 制服丝袜av成人在线看| 9191国产精品| 91精品国产综合久久久久久久久久 | 成人av动漫网站| 成人免费的视频| yourporn久久国产精品| 波多野结衣一区二区三区 | 加勒比av一区二区| 紧缚捆绑精品一区二区| 国内精品免费在线观看| 国产一区二区三区在线看麻豆| 激情综合色丁香一区二区| 韩国av一区二区三区| 狠狠色丁香九九婷婷综合五月| 国产在线精品国自产拍免费| 国产精品18久久久久久久久久久久| 国产999精品久久| 91在线视频在线| 欧美三区在线视频| 51精品国自产在线| 欧美成人伊人久久综合网| 久久女同精品一区二区| 中文字幕精品一区二区精品绿巨人 | 亚洲高清一区二区三区| 午夜欧美电影在线观看| 日本三级韩国三级欧美三级| 蓝色福利精品导航| 国产精品资源网站| 99riav久久精品riav| 欧美性淫爽ww久久久久无| 欧美军同video69gay| 欧美成人在线直播| 中文av字幕一区| 一区二区三区中文字幕电影| 性久久久久久久久| 精品一区二区久久久| av电影在线观看一区| 欧美日韩一二三| 精品国产精品网麻豆系列| 中文字幕精品一区二区精品绿巨人 | 麻豆成人91精品二区三区| 国产精品123区| 在线精品视频免费播放| 日韩一区二区三区视频在线| 国产日韩欧美不卡在线| 亚洲午夜在线视频| 国产在线不卡一区| 色999日韩国产欧美一区二区|