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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ctask.doc

?? 一個可以立即使用的嵌入式操作系統(tǒng)
?? 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醫(yī), 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品美女一区二区| 欧美韩日一区二区三区四区| 日产国产高清一区二区三区| 激情五月激情综合网| 国产精品久久久久久久久久免费看 | 日韩制服丝袜先锋影音| 中文无字幕一区二区三区 | 91精品国产综合久久久久久漫画| 欧美精品一区二区三区蜜桃| 午夜精品久久久久久久久| 亚洲三级在线免费观看| 一区二区三区日韩欧美| 天天综合天天综合色| 欧美电影免费观看高清完整版在| 91年精品国产| 5566中文字幕一区二区电影| 国产成人av自拍| 欧洲一区在线观看| 国产欧美日韩视频在线观看| 欧美精品一二三| 国产精品毛片a∨一区二区三区| 欧美一区二区在线视频| 国产精品伦一区二区三级视频| 91精品国产综合久久久久久久| av中文字幕不卡| 精品国产乱码久久久久久免费| 欧美日韩精品电影| 亚洲欧美二区三区| 欧美日韩中文精品| 91丨porny丨在线| 亚洲综合一区在线| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 免费高清在线一区| 日韩精品一区第一页| 欧美日本一区二区在线观看| 亚洲宅男天堂在线观看无病毒| 中文字幕亚洲成人| www.欧美色图| 欧洲一区二区三区在线| 一区二区三区小说| 亚洲一区二区三区中文字幕| 欧美中文字幕一区二区三区亚洲| 337p亚洲精品色噜噜噜| 欧美日韩精品系列| 精品三级在线看| 国产91丝袜在线播放| 亚洲人成网站影音先锋播放| 欧美精品久久久久久久多人混战 | 亚洲1区2区3区视频| 91搞黄在线观看| 日韩精品1区2区3区| 国产麻豆成人精品| 国产精品久久久久影院色老大| 亚洲成a人片综合在线| 666欧美在线视频| 国产宾馆实践打屁股91| 亚洲黄色小视频| 2024国产精品| 欧美亚洲高清一区二区三区不卡| 久久久欧美精品sm网站| 9191国产精品| 欧美精品一级二级| 欧美色图片你懂的| 色婷婷国产精品综合在线观看| 国产精品毛片高清在线完整版| 欧美视频中文字幕| 美女一区二区在线观看| 中文字幕av一区二区三区免费看| 蜜臀av性久久久久蜜臀aⅴ流畅| 色综合天天综合网天天看片| 久久久精品国产免费观看同学| 欧美aⅴ一区二区三区视频| 亚洲免费观看高清完整| 91丝袜呻吟高潮美腿白嫩在线观看| 欧美精品一区二区三区在线 | 26uuu久久综合| 欧美一区二区三区成人| 欧美高清你懂得| 欧美在线观看禁18| 91丝袜国产在线播放| 成人app在线观看| 国产成人在线视频网站| 精品一区二区三区在线播放| 日韩毛片精品高清免费| 国产不卡免费视频| 中文字幕在线不卡视频| 亚洲男人电影天堂| 亚洲自拍偷拍麻豆| 亚洲成人动漫在线观看| 美腿丝袜在线亚洲一区 | 日韩精品综合一本久道在线视频| 极品少妇一区二区| 欧美韩国日本不卡| 欧美日韩精品一区二区三区四区 | 久久不见久久见免费视频1| 欧美色老头old∨ideo| 欧美色国产精品| 日韩精品最新网址| 国产精品毛片无遮挡高清| 一区二区日韩av| 麻豆成人久久精品二区三区红 | 久久机这里只有精品| 粗大黑人巨茎大战欧美成人| 色噜噜狠狠色综合中国 | 国产精品69久久久久水密桃| 91啪九色porn原创视频在线观看| 久热成人在线视频| 欧美亚洲精品一区| 亚洲国产高清不卡| 蜜桃一区二区三区四区| 亚洲国产日韩a在线播放| 免费高清在线视频一区·| 99视频精品在线| 久久综合成人精品亚洲另类欧美 | 亚洲精品在线免费观看视频| 欧美久久一区二区| 一区二区三区欧美久久| av成人免费在线| 国产日韩精品视频一区| 麻豆91免费看| 亚洲精品一区二区三区精华液 | 亚洲女人小视频在线观看| 久久99国产精品麻豆| 91麻豆精品国产无毒不卡在线观看| 欧美三区免费完整视频在线观看| 一本到高清视频免费精品| 国产精品福利一区| ...xxx性欧美| 91精彩视频在线观看| 亚洲女人的天堂| 91高清在线观看| 五月天激情综合| 精品国一区二区三区| 国产精品18久久久久久久久久久久 | 奇米精品一区二区三区在线观看| 蜜桃久久久久久久| 精品久久久久久久久久久久久久久 | 欧美大胆人体bbbb| 亚洲精品在线观| 亚洲女同女同女同女同女同69| 香蕉影视欧美成人| 日韩欧美一区在线| 懂色av中文字幕一区二区三区| 色婷婷综合久久久久中文| 亚洲精品自拍动漫在线| 精品视频123区在线观看| 蜜桃av一区二区在线观看| 欧美国产日韩在线观看| 日韩av一级片| 亚洲天堂2016| 久久综合久久综合亚洲| 色悠久久久久综合欧美99| 日韩电影一区二区三区| 日韩美女啊v在线免费观看| 欧美大胆人体bbbb| 56国语精品自产拍在线观看| 亚洲福利国产精品| 欧美激情一区二区三区四区| 欧美人妇做爰xxxⅹ性高电影 | 日韩av中文在线观看| 一区二区三区在线观看国产| 久久久精品免费观看| 日韩一级片在线观看| 蜜桃视频第一区免费观看| 亚洲精品国产第一综合99久久| 色综合色综合色综合色综合色综合| 国产精品久久久久久久第一福利| 国产一区二区三区蝌蚪| 三级影片在线观看欧美日韩一区二区| 色综合久久久久综合体桃花网| 国产精品不卡视频| 欧美韩日一区二区三区| 国产精品天干天干在线综合| 日本一区二区综合亚洲| 成人一级黄色片| 成人黄色免费短视频| 欧美v日韩v国产v| 日韩视频免费观看高清完整版 | 九九九久久久精品| 国产精品一二三四| 成人小视频免费观看| 成人国产精品免费观看视频| 91一区二区在线| 欧美日韩一区精品| 国产丶欧美丶日本不卡视频| 国产91精品露脸国语对白| 色综合欧美在线| 欧美一区2区视频在线观看| www欧美成人18+| 亚洲一区二区四区蜜桃| 免费黄网站欧美| 91看片淫黄大片一级在线观看| 久久精品国产久精国产爱| 色婷婷久久久久swag精品| 欧美日韩精品福利| 中文字幕精品三区| 午夜视频在线观看一区二区三区| 久久久99久久| 午夜视频一区二区三区| 国产麻豆视频一区二区|