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

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

?? ctask.doc

?? 一個多任務操作系統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醫, 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一区二区三区免费野_久草精品视频
另类专区欧美蜜桃臀第一页| 精品黑人一区二区三区久久 | 亚洲欧美激情一区二区| 日韩在线卡一卡二| 一本到高清视频免费精品| 精品伦理精品一区| 午夜精品影院在线观看| 色综合久久中文综合久久97| 国产喂奶挤奶一区二区三区 | 国产精品超碰97尤物18| 久久99精品国产麻豆不卡| 欧美日韩国产不卡| 亚洲精品成人天堂一二三| 成人免费毛片片v| 久久久一区二区| 免费在线看一区| 在线观看免费一区| 亚洲免费观看高清完整版在线观看熊 | 91精品综合久久久久久| 亚洲线精品一区二区三区 | 亚洲色图20p| 精品一区二区在线观看| 欧美二区在线观看| 亚洲国产精品一区二区久久恐怖片 | 国产在线精品一区二区| 日韩美女视频一区二区在线观看| 亚洲二区在线观看| 欧美日韩精品是欧美日韩精品| 亚洲人成网站在线| 色综合亚洲欧洲| 一区二区三区产品免费精品久久75| 不卡的av电影| 成人欧美一区二区三区视频网页| 成人精品在线视频观看| 综合欧美一区二区三区| av激情综合网| 日韩美女久久久| 一本久久a久久免费精品不卡| 亚洲视频一区二区在线观看| 91亚洲精品久久久蜜桃网站| 亚洲精品国产高清久久伦理二区| 欧美午夜精品久久久久久孕妇| 一区二区三区在线观看欧美| 欧美中文一区二区三区| 首页欧美精品中文字幕| 日韩欧美国产一区二区三区| 精品一区二区精品| 国产欧美一区二区三区在线老狼| 成人app在线观看| 一区二区三区色| 亚洲第一福利一区| 成人性生交大合| 久久久天堂av| av在线不卡电影| 伊人色综合久久天天人手人婷| 日本高清不卡视频| 日韩成人一级片| 国产网站一区二区| 欧美在线观看18| 另类专区欧美蜜桃臀第一页| 国产日韩欧美不卡| 欧美亚洲高清一区二区三区不卡| 免费观看一级特黄欧美大片| 欧美激情一区二区三区全黄| 91久久精品午夜一区二区| 免费观看成人av| 欧美日韩成人综合天天影院| 麻豆精品一二三| 中文字幕欧美激情| 欧美午夜电影在线播放| 国内精品视频666| 亚洲自拍偷拍九九九| 久久久久综合网| 成人午夜精品在线| 亚洲综合成人在线视频| 欧美精品一区二区在线观看| av在线这里只有精品| 视频一区视频二区中文字幕| 欧美国产亚洲另类动漫| 欧美精品丝袜久久久中文字幕| 国产一区高清在线| 亚洲欧美一区二区不卡| 久久久久久久综合日本| 欧美视频一区二区三区| 99视频精品在线| 亚洲成人手机在线| 日韩毛片高清在线播放| 久久久久综合网| 91精品国产欧美一区二区| 色综合av在线| 成人污污视频在线观看| 国产美女一区二区三区| 日韩精品成人一区二区在线| 亚洲激情一二三区| 欧美国产乱子伦| 精品奇米国产一区二区三区| 717成人午夜免费福利电影| 97se亚洲国产综合自在线| 国产成人免费视| 久久se精品一区精品二区| 五月激情综合婷婷| 亚洲成人av一区| 亚洲伊人色欲综合网| 亚洲乱码国产乱码精品精小说| 国产欧美精品区一区二区三区| 欧美一级日韩免费不卡| 欧美高清www午色夜在线视频| 色哟哟国产精品| 99久免费精品视频在线观看| 成人免费视频国产在线观看| 丰满亚洲少妇av| 一区二区三区欧美在线观看| 欧美国产精品v| 国产片一区二区| 国产女主播在线一区二区| 欧美极品少妇xxxxⅹ高跟鞋| 亚洲国产精品精华液2区45| 久久只精品国产| 久久精品一级爱片| 久久精品一区二区三区不卡| 国产精品亲子伦对白| 中文字幕一区二区不卡| 一区二区三区精品在线观看| 亚洲精品国久久99热| 亚洲国产aⅴ成人精品无吗| 五月开心婷婷久久| 美洲天堂一区二卡三卡四卡视频 | 午夜电影网亚洲视频| 亚洲成人资源在线| 麻豆国产欧美日韩综合精品二区| 久久精品噜噜噜成人88aⅴ| 精品在线一区二区三区| 高潮精品一区videoshd| 成+人+亚洲+综合天堂| 欧美性色欧美a在线播放| 欧美日韩国产综合一区二区三区| 欧美一区二区三区精品| 国产日韩精品一区| 亚洲猫色日本管| 亚洲成人免费视| 精品一区二区三区免费播放| 国产成人av电影在线| 在线观看国产一区二区| 欧美电视剧免费观看| 国产精品网站导航| 天天做天天摸天天爽国产一区 | 色婷婷综合久色| 91精品在线免费观看| 国产日韩av一区| 无吗不卡中文字幕| 成人综合婷婷国产精品久久| 欧美三区在线观看| 久久亚洲综合av| 亚洲国产精品麻豆| 国产乱一区二区| 欧美日本韩国一区二区三区视频 | 精品国产一区二区国模嫣然| 中文字幕一区二区三区色视频 | heyzo一本久久综合| 欧美日韩一本到| 欧美激情一二三区| 亚洲成a人片在线观看中文| 国产一区二区三区观看| 精品视频一区二区三区免费| 亚洲国产高清不卡| 强制捆绑调教一区二区| 色94色欧美sute亚洲线路一ni | 天天免费综合色| 99视频一区二区三区| 精品999在线播放| 亚洲自拍偷拍综合| 99久久精品国产导航| 国产亚洲制服色| 男人的天堂亚洲一区| 欧美网站一区二区| 亚洲欧美aⅴ...| 成人av网站免费| 久久久不卡网国产精品二区 | 一区二区成人在线观看| 欧美日韩一区二区在线视频| 国产精品女上位| 国内精品久久久久影院薰衣草 | 日精品一区二区| 97久久人人超碰| 日本一区二区三区在线观看| 久久国产精品区| 日韩一区二区三区精品视频 | 亚洲人成亚洲人成在线观看图片 | 亚洲精品一二三四区| 国产99久久久国产精品潘金 | 香蕉成人伊视频在线观看| 国内精品免费**视频| 蜜桃一区二区三区四区| 在线观看欧美精品| 亚洲色图欧美激情| 在线精品国精品国产尤物884a| 欧美mv日韩mv国产| 久久99精品视频| 久久网站热最新地址| 寂寞少妇一区二区三区|