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

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

?? ctask.doc

?? 一個多任務(wù)操作系統(tǒng)CTask的源代碼 用C語言編寫
?? 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一区二区三区免费野_久草精品视频
亚洲一二三四在线| 8x福利精品第一导航| 亚洲午夜电影网| 久久综合狠狠综合| 在线观看视频91| 成人毛片在线观看| 六月婷婷色综合| 亚洲成人免费在线| 亚洲欧美福利一区二区| 51久久夜色精品国产麻豆| 国产日韩一级二级三级| 一本久久a久久精品亚洲| 99国产精品99久久久久久| 国产精品美女一区二区在线观看| 欧美另类高清zo欧美| 91高清在线观看| 成人aa视频在线观看| 国模冰冰炮一区二区| 日韩av二区在线播放| 亚洲一二三四久久| 成人欧美一区二区三区小说| 亚洲国产成人在线| 欧美精品一区男女天堂| 日韩三级免费观看| 欧美精品高清视频| 欧美色网一区二区| 91成人免费网站| 在线日韩av片| 色综合久久天天| 91老师国产黑色丝袜在线| 国产精品18久久久久久vr| 国产一区二区调教| 激情五月婷婷综合网| 国内偷窥港台综合视频在线播放| 精品亚洲国产成人av制服丝袜| 久久成人免费电影| 狠狠色综合播放一区二区| 精品一区二区三区免费| 美女视频第一区二区三区免费观看网站| 亚洲成va人在线观看| 日韩和欧美一区二区三区| 日韩**一区毛片| 日本va欧美va瓶| 精品夜夜嗨av一区二区三区| 国产剧情在线观看一区二区| 国产高清精品网站| 波多野结衣亚洲| 色婷婷av久久久久久久| 欧美日韩视频一区二区| 欧美日本一区二区三区四区| 欧美理论片在线| 日韩精品一区二区三区老鸭窝| 久久久午夜电影| 日本一区二区视频在线| 亚洲少妇最新在线视频| 亚洲一区二区三区不卡国产欧美| 亚洲一区二区欧美日韩| 日韩av一区二区三区四区| 激情小说欧美图片| eeuss国产一区二区三区| 在线免费观看日韩欧美| 678五月天丁香亚洲综合网| 精品99一区二区| 国产精品免费人成网站| 尤物在线观看一区| 久久精品国产99| av亚洲产国偷v产偷v自拍| 欧美羞羞免费网站| 欧美不卡一二三| 日韩美女视频一区二区| 日韩和欧美一区二区三区| 国产传媒一区在线| 日本二三区不卡| 日韩欧美123| 自拍偷拍欧美精品| 日韩高清一级片| 成人在线综合网站| 欧美日韩一区在线观看| 久久女同互慰一区二区三区| 亚洲免费伊人电影| 黄色小说综合网站| 在线观看av不卡| 久久久久久免费毛片精品| 亚洲午夜免费电影| 国产精品一区二区果冻传媒| 欧美性一级生活| 国产欧美日本一区视频| 亚洲午夜私人影院| 风间由美一区二区三区在线观看 | 99久免费精品视频在线观看| 色哟哟欧美精品| 日韩精品一区二| 一区二区三区中文字幕电影| 狠狠色伊人亚洲综合成人| 欧美视频一区二| 中文字幕一区二区三区色视频| 蜜桃久久久久久久| 欧洲生活片亚洲生活在线观看| 久久久久99精品国产片| 日本伊人午夜精品| 色悠久久久久综合欧美99| 亚洲国产成人自拍| 韩日欧美一区二区三区| 欧美高清激情brazzers| 亚洲色图视频免费播放| 国产精品伊人色| 日韩一区二区在线看| 亚洲一区二区综合| 99re6这里只有精品视频在线观看| 精品国产乱码久久久久久影片| 亚洲国产一区二区三区| 96av麻豆蜜桃一区二区| 欧美激情一区三区| 激情国产一区二区| 欧美成人三级在线| 青青草成人在线观看| 欧美日韩一区二区三区高清 | 亚洲欧洲一区二区三区| 国内偷窥港台综合视频在线播放| 在线播放91灌醉迷j高跟美女 | 精品久久久久久亚洲综合网| 日韩精品乱码av一区二区| 在线免费不卡视频| 亚洲欧美电影一区二区| 91在线观看污| 亚洲国产精品精华液2区45| 国产福利一区二区| 国产日韩欧美精品在线| 国产一区亚洲一区| 久久人人97超碰com| 国产精品一区二区三区网站| 久久男人中文字幕资源站| 久久97超碰国产精品超碰| 日韩免费高清电影| 久久成人免费电影| 2023国产精品视频| 国产一区二区福利| 国产亚洲精品福利| 成人小视频在线观看| 国产精品成人一区二区艾草| 97精品国产露脸对白| 自拍视频在线观看一区二区| 日本电影欧美片| 婷婷丁香激情综合| 欧美一级国产精品| 精品一区精品二区高清| 欧美激情一区在线| 91免费版在线| 亚洲一区二区在线免费观看视频 | 在线日韩国产精品| 午夜av电影一区| 日韩欧美一级在线播放| 国产精品正在播放| 亚洲丝袜另类动漫二区| 欧美视频在线观看一区二区| 毛片av一区二区三区| 国产欧美视频一区二区| 一本大道av一区二区在线播放| 亚洲国产美国国产综合一区二区| 日韩一级大片在线| 国产成人自拍在线| 亚洲精品视频在线| 91精品综合久久久久久| 国产乱码精品1区2区3区| 成人免费在线视频| 69久久夜色精品国产69蝌蚪网 | 欧美日韩美少妇 | 欧美色精品在线视频| 老司机午夜精品| 中文字幕乱码亚洲精品一区| 在线亚洲人成电影网站色www| 奇米精品一区二区三区在线观看| 久久精品在线观看| 欧美天天综合网| 国产乱人伦精品一区二区在线观看| 综合久久久久久| 日韩一级在线观看| 色天使色偷偷av一区二区| 久久99精品久久久久久国产越南 | 欧美一区二区网站| 国产aⅴ综合色| 婷婷开心激情综合| 国产欧美一区二区三区在线看蜜臀| 91视视频在线观看入口直接观看www| 日韩精品三区四区| 亚洲欧美日韩中文播放| 精品久久国产97色综合| 欧美在线视频日韩| 国产精品一区一区| 午夜精品成人在线| 中文字幕一区二区三区精华液 | 亚洲一区成人在线| 国产视频一区二区在线| 欧美日韩精品福利| 成人天堂资源www在线| 美腿丝袜在线亚洲一区| 综合在线观看色| 久久精品一区二区| 欧美一区二区三区四区久久| 色88888久久久久久影院按摩|