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

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

?? ctask.doc

?? 一個嵌入式實時操作系統源碼
?? 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.
        CTask allows your C program to do many different things at the

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人三级伦理片| 精品久久久久久久久久久久久久久| 91成人在线观看喷潮| 欧美一区二区在线免费播放| 久久午夜免费电影| 天天亚洲美女在线视频| 国产成都精品91一区二区三| 欧美日韩国产三级| 亚洲欧美二区三区| 国产精品456| 欧美videossexotv100| 亚洲一区在线观看网站| 9人人澡人人爽人人精品| 欧美大黄免费观看| 三级不卡在线观看| 色婷婷综合久久久久中文 | 国产精品一区二区男女羞羞无遮挡 | 国产精品一二三四| 欧美一级片在线看| 午夜视频久久久久久| 91色乱码一区二区三区| 国产欧美日韩在线观看| 久久er99精品| 日韩欧美高清在线| 蜜桃免费网站一区二区三区| 欧美视频第二页| 亚洲一区在线观看免费观看电影高清| 99久免费精品视频在线观看| 久久先锋影音av鲁色资源| 免费美女久久99| 欧美一区二区三区啪啪| 五月天国产精品| 4438x亚洲最大成人网| 亚洲超丰满肉感bbw| 欧美无砖专区一中文字| 亚洲午夜久久久久久久久久久| 色哟哟一区二区三区| 亚洲天堂网中文字| 在线视频观看一区| 亚洲成人自拍网| 欧美夫妻性生活| 日韩一区精品字幕| 精品国产99国产精品| 黄色资源网久久资源365| 国产亚洲人成网站| 成人丝袜18视频在线观看| 国产精品人妖ts系列视频| av不卡在线观看| 亚洲一区二区视频在线| 欧美日韩一区二区三区高清| 午夜影院久久久| 精品福利视频一区二区三区| 国产成人精品免费在线| 亚洲人成人一区二区在线观看| 在线观看日韩毛片| 久久福利视频一区二区| 国产欧美日韩另类一区| 91蜜桃在线观看| 不卡一区二区中文字幕| 亚洲精品v日韩精品| 欧美日本一道本| 国产精品亚洲午夜一区二区三区| 国产精品久久久久国产精品日日| 在线精品视频一区二区| 蜜臀av一级做a爰片久久| 欧美国产激情二区三区| 欧美午夜宅男影院| 国产美女精品一区二区三区| 中文字幕亚洲电影| 欧美一区二区三区在线电影| 国产一区二区剧情av在线| 亚洲欧美一区二区三区久本道91| 欧美日韩国产电影| 成人永久看片免费视频天堂| 亚洲伊人色欲综合网| 精品国产乱码久久久久久蜜臀 | 日韩成人伦理电影在线观看| 久久新电视剧免费观看| 在线看不卡av| 国产不卡免费视频| 奇米影视一区二区三区| 专区另类欧美日韩| 精品国产乱码久久久久久图片| 91蜜桃婷婷狠狠久久综合9色| 久久成人久久爱| 亚洲国产综合在线| 国产精品乱码一区二区三区软件| 在线播放91灌醉迷j高跟美女| 成人一区二区三区视频在线观看 | 中文字幕一区免费在线观看| 日韩欧美国产一区二区在线播放| 色综合久久天天| 国产不卡一区视频| 麻豆91在线观看| 婷婷丁香激情综合| 亚洲一区二区三区在线播放| 国产欧美日韩综合| 精品国产免费视频| 日韩美女主播在线视频一区二区三区 | 欧美猛男超大videosgay| 成人aa视频在线观看| 精品无人码麻豆乱码1区2区 | 亚洲一二三区视频在线观看| 国产精品久久久一本精品| 久久网站最新地址| 欧美第一区第二区| 337p亚洲精品色噜噜狠狠| 色综合天天狠狠| 色悠久久久久综合欧美99| 成人app网站| av在线不卡免费看| 丝袜亚洲另类丝袜在线| 一区二区三区在线免费视频| 国产拍欧美日韩视频二区| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 色综合天天综合色综合av| 国产激情精品久久久第一区二区| 日韩综合小视频| 性欧美大战久久久久久久久| 亚洲色图视频网站| 又紧又大又爽精品一区二区| 亚洲欧洲成人av每日更新| 中文字幕成人av| 亚洲日本va在线观看| 亚洲日穴在线视频| 亚洲国产综合91精品麻豆| 亚洲第一主播视频| 日韩精品电影在线观看| 日韩av电影免费观看高清完整版 | 国产成人亚洲综合色影视| 国产成人av一区二区三区在线 | 免费高清视频精品| 激情五月激情综合网| 国产成人综合在线观看| 波多野结衣91| 在线精品国精品国产尤物884a| 欧美日韩一区久久| 日韩一级高清毛片| 国产亚洲一本大道中文在线| 国产精品久久久久影院老司| 一区二区不卡在线播放 | 丁香五精品蜜臀久久久久99网站| 国产成a人亚洲| 日本高清成人免费播放| 欧美精三区欧美精三区| 欧美va日韩va| 亚洲日本在线天堂| 奇米精品一区二区三区在线观看一| 国产在线播放一区三区四| 91天堂素人约啪| 欧美一区二区三区日韩视频| 久久综合色8888| 亚洲综合一区二区精品导航| 日韩精品免费专区| 国产精品123区| 欧美日韩小视频| 国产精品视频线看| 日韩成人免费电影| 91蜜桃网址入口| 精品国产乱码久久久久久免费| 国产精品久久久久久久久免费桃花| 一区二区激情视频| 国产成人综合视频| 欧美顶级少妇做爰| 亚洲欧洲av在线| 国产在线精品免费| 制服丝袜中文字幕亚洲| 中文字幕av不卡| 极品少妇一区二区三区精品视频| 99re成人精品视频| 国产日韩精品一区| 久久精品99国产精品日本| 色av一区二区| 国产精品久久夜| 国内成人免费视频| 欧美一区二区成人| 亚洲国产成人91porn| jlzzjlzz欧美大全| 国产午夜一区二区三区| 日本不卡的三区四区五区| 在线观看免费亚洲| 亚洲美腿欧美偷拍| av色综合久久天堂av综合| 久久久久97国产精华液好用吗| 午夜精品在线视频一区| 91啪九色porn原创视频在线观看| 国产午夜亚洲精品午夜鲁丝片| 麻豆免费看一区二区三区| 欧美精品777| 亚洲bt欧美bt精品| 欧美系列日韩一区| 亚洲一区二区精品3399| 99免费精品视频| 亚洲视频你懂的| 不卡的av在线播放| 国产精品不卡在线| k8久久久一区二区三区| 日韩一区在线播放| 国产成人午夜精品影院观看视频 | 一区二区三区国产精品|