亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
久久天天做天天爱综合色| 亚洲亚洲精品在线观看| 秋霞午夜av一区二区三区| 日韩亚洲欧美成人一区| 久久久久久久久久久久久久久99 | 7777精品久久久大香线蕉 | 午夜影视日本亚洲欧洲精品| 国产老肥熟一区二区三区| 精品国产123| 欧美一区欧美二区| 欧美精品一区二区三| 久久嫩草精品久久久精品一| 久久先锋影音av| 亚洲欧美日韩电影| 美日韩黄色大片| 7777精品伊人久久久大香线蕉超级流畅 | 亚洲成人精品一区二区| 亚洲图片有声小说| 波多野结衣中文一区| 暴力调教一区二区三区| 欧美三级电影网| 欧美日韩电影一区| 国产三级三级三级精品8ⅰ区| 亚洲人午夜精品天堂一二香蕉| 日韩中文字幕亚洲一区二区va在线| 日产精品久久久久久久性色| 欧美中文字幕亚洲一区二区va在线 | 激情五月激情综合网| 日韩一区二区不卡| 精品一区二区三区视频| 色天天综合久久久久综合片| 首页综合国产亚洲丝袜| 精品国产电影一区二区 | 国产精品视频看| 欧美日韩精品福利| 激情深爱一区二区| 一区二区三区蜜桃网| 精品国产露脸精彩对白 | 久久精品欧美一区二区三区不卡| 另类小说色综合网站| 一区二区视频在线| 91亚洲国产成人精品一区二区三| 69精品人人人人| 日韩中文字幕不卡| 9191国产精品| 精久久久久久久久久久| 日韩精品专区在线| 高清成人在线观看| 日韩经典中文字幕一区| 亚洲自拍偷拍网站| 精品免费日韩av| 91精品国产入口| 91成人在线精品| 亚洲第一在线综合网站| 欧美视频三区在线播放| 奇米色一区二区三区四区| 日韩一本二本av| 成人免费不卡视频| 一区二区三区国产精品| 欧美午夜一区二区三区免费大片| 伊人性伊人情综合网| 51久久夜色精品国产麻豆| 久久精品久久精品| 亚洲欧美激情视频在线观看一区二区三区 | 日产欧产美韩系列久久99| 亚洲免费观看高清完整版在线观看 | 欧美成人在线直播| 在线观看免费成人| 99视频一区二区| 国产成人精品综合在线观看| 免费美女久久99| 五月婷婷久久丁香| 一级做a爱片久久| 国产精品久久久久久久裸模| 日韩欧美亚洲一区二区| 欧美性受极品xxxx喷水| 欧美最新大片在线看| av高清不卡在线| 成人一区在线观看| 紧缚捆绑精品一区二区| 蜜桃av一区二区| 美女在线视频一区| 蜜臀精品一区二区三区在线观看| 日韩极品在线观看| 国模套图日韩精品一区二区| 国产精品18久久久| 国产女主播在线一区二区| 51精品秘密在线观看| 久久精品日产第一区二区三区高清版 | 在线观看亚洲精品视频| 欧美日韩国产免费一区二区| 99天天综合性| 成人av免费在线| 色婷婷一区二区三区四区| 99久久精品国产一区二区三区 | 日韩成人免费看| 视频在线观看国产精品| 成人综合婷婷国产精品久久免费| www.激情成人| 久久精品视频一区| 日日嗨av一区二区三区四区| 成人一级片网址| 日韩一区二区影院| 一区二区视频免费在线观看| 精品一区二区久久久| 国产99精品国产| 337p粉嫩大胆色噜噜噜噜亚洲| 亚洲欧美aⅴ...| 国产成人免费9x9x人网站视频| 欧美三级日韩三级| 亚洲精品视频观看| 91免费在线播放| 亚洲天天做日日做天天谢日日欢 | 中文字幕欧美区| 激情深爱一区二区| 国产精品久久一卡二卡| 亚洲欧洲性图库| 激情小说亚洲一区| 国产精品久久久久久久浪潮网站| 欧美亚洲一区三区| 亚洲国产精品人人做人人爽| 成人99免费视频| 最新久久zyz资源站| 日韩一区二区三区观看| 成人精品免费看| 欧美a级理论片| 一区二区在线免费| 精品美女被调教视频大全网站| 成人免费毛片a| 久久国产生活片100| 精品国产乱码久久久久久久久 | 日本一区二区三区视频视频| 色婷婷久久久综合中文字幕| 蜜桃久久精品一区二区| 亚洲欧洲无码一区二区三区| 精品卡一卡二卡三卡四在线| 成人免费黄色大片| 午夜精品福利一区二区蜜股av| 欧美在线综合视频| 青青草成人在线观看| 欧美日韩国产高清一区二区| www.日韩av| 国产a区久久久| 久久精品国产澳门| 亚洲国产综合在线| 一区二区三区在线视频免费| 中文字幕第一区综合| 91免费国产视频网站| 国产老妇另类xxxxx| 亚洲一二三级电影| 欧美日韩精品免费观看视频| 国产一区二区在线视频| 日韩va欧美va亚洲va久久| 一区二区三区中文在线观看| 欧美高清在线精品一区| 久久久久久久电影| 精品久久久久久综合日本欧美| 日韩一区二区三区电影在线观看 | 成人涩涩免费视频| 国产精品自拍网站| 成人免费看片app下载| 国产另类ts人妖一区二区| 中文字幕制服丝袜一区二区三区| 国产精品每日更新在线播放网址| 国产精品久久久爽爽爽麻豆色哟哟| 国产午夜亚洲精品羞羞网站| 国产精品污网站| 中文字幕一区视频| 日本一区二区三级电影在线观看| 亚洲图片另类小说| 一区二区三区日本| 亚洲高清免费视频| 日本不卡高清视频| 国产麻豆视频一区二区| 亚洲一区二区三区四区中文字幕| 日韩一级二级三级| 欧美色图免费看| 色8久久人人97超碰香蕉987| 欧美性色黄大片| 日韩一区二区影院| 欧美哺乳videos| 一区二区三区四区不卡视频| 蜜臀久久久久久久| 99久久免费国产| 欧美日韩免费视频| 欧美一级片在线| 伊人色综合久久天天人手人婷| 国产乱子伦视频一区二区三区| 在线视频综合导航| 亚洲天堂精品在线观看| 韩国v欧美v日本v亚洲v| 7777精品伊人久久久大香线蕉的 | 欧美色图在线观看| 欧美一区二区在线观看| 国产午夜精品一区二区三区嫩草 | 欧美日韩国产小视频| 26uuu另类欧美| 天堂精品中文字幕在线| 国产91精品露脸国语对白| 欧美精品亚洲二区|