Received: from PCH.mit.edu (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Thu, 18 Feb 2021 07:50:37 -0800 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 11IFfbQf014932; Thu, 18 Feb 2021 10:42:21 -0500 Received: from outgoing-exchange-7.mit.edu (OUTGOING-EXCHANGE-7.MIT.EDU [18.9.28.58]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 11IFfa6k014929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 18 Feb 2021 10:41:36 -0500 Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-7.mit.edu (8.14.7/8.12.4) with ESMTP id 11IFfOo5016188 for ; Thu, 18 Feb 2021 10:41:36 -0500 Received: from oc11expo28.exchange.mit.edu (18.9.4.99) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Thu, 18 Feb 2021 10:40:48 -0500 Received: from oc11exhyb5.exchange.mit.edu (18.9.1.110) by oc11expo28.exchange.mit.edu (18.9.4.99) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Thu, 18 Feb 2021 10:41:02 -0500 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by oc11exhyb5.exchange.mit.edu (18.9.1.110) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 18 Feb 2021 10:41:02 -0500 Received: from MWHPR10CA0018.namprd10.prod.outlook.com (2603:10b6:301::28) by SN6PR01MB3965.prod.exchangelabs.com (2603:10b6:805:1e::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.14; Thu, 18 Feb 2021 15:41:01 +0000 Received: from CO1NAM11FT057.eop-nam11.prod.protection.outlook.com (2603:10b6:301:0:cafe::1f) by MWHPR10CA0018.outlook.office365.com (2603:10b6:301::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27 via Frontend Transport; Thu, 18 Feb 2021 15:41:00 +0000 Received: from mail-qv1-f52.google.com (209.85.219.52) by CO1NAM11FT057.mail.protection.outlook.com (10.13.174.205) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27 via Frontend Transport; Thu, 18 Feb 2021 15:41:00 +0000 Received: by mail-qv1-f52.google.com with SMTP id g3so1107394qvl.2 for ; Thu, 18 Feb 2021 07:41:00 -0800 (PST) Received: from ?IPv6:2804:7f3:685:4d9f:ac08:3137:4043:b080? ([2804:7f3:685:4d9f:ac08:3137:4043:b080]) by smtp.gmail.com with ESMTPSA id a186sm4361147qkd.63.2021.02.18.07.40.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Feb 2021 07:40:57 -0800 (PST) From: Isaac Marino Bavaresco To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Thu, 18 Feb 2021 07:40:54 -0800 Subject: Re: [EE]:: Simple Task Scheduler written in C Thread-Topic: [EE]:: Simple Task Scheduler written in C Thread-Index: AdcGDc11SEiNnQinTxyS9Ac+nhb5ow== Message-ID: <50D9E43B-4A17-4A31-86AD-621C0062D435@gmail.com> References: List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: Pass X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: Pass (protection.outlook.com: domain of gmail.com designates 209.85.219.52 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.219.52; helo=mail-qv1-f52.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:from:message-id; bh=289dkOAygk3QbwIskfFDmpt0agqXLISuswnK1Lyar2M=; b=agEnduaoh+XKFaHnJ6sqXWqZCgo+/ZnCjKycYepIfFu762fHRljYjbrflHWMOWLQUb CkF5p48l5WcRqBlvo0kHPDG0WFKQFjJD1e/j+Nj/k5gSVdL2w/OqdMAm1ghaiqX1z+Ch eQUlMX6+lU3BMCgBWXHXbMouqr/LwPOVYh04dKL1MQvrRl9i9/KWdM672I3BxkR0PnIh SzMwvgPvlUfRySsnEt5TcngXZoyi563xDrSTWDkHKJSCptvzVOINBZlbQZ9/rA5G3m/O bf/gthd6HghszZTImARUv0kVFgCV2vZG3TBQzGBeE9Ul8xiR3T/a5MBi1a1CgdCS+xsk X4xQ== authentication-results: spf=pass (sender IP is 209.85.219.52) smtp.mailfrom=gmail.com; mit.edu; dkim=pass (signature was verified) header.d=gmail.com; mit.edu; dmarc=pass action=none header.from=gmail.com; user-agent: K-9 Mail for Android errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-received: by 2002:a0c:b92f:: with SMTP id u47mr4639174qvf.8.1613662859187; Thu, 18 Feb 2021 07:40:59 -0800 (PST) x-topics: [EE] x-content-filtered-by: Mailman/MimeDel 2.1.6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 In my PICLIST page I have some related projects. This one is a colaborative RTOS for PICs: < http://www.piclist.com/Techref/= member/IMB-yahoo-J86/SimpleRTOS.htm> It works, but I think only in a very specific version of Hi-Tech C. This one is a Co-Routines framework that can work in any processor: This one is a real preemptive RTOS: It was based on the structure of FreeRTOS, but with several changes. Em 16 de fevereiro de 2021 07:09:04 BRT, RussellMc es= creveu: >Merit thereof unknown. >2012 > >https://www.cs.ucr.edu/~vahid/rios/ > >Code for pre-emptive version absent. > >____________________________ > >RIOS is a task scheduler written entirely in C that: > > - Is simple and understandable for the beginning embedded programmer > - Can provide basic non-preemptive or preemptive multitasking > capabilities for cooperative tasks > - Requires only a few dozen lines of C code. Reduces need for RTOS > (real-time operating system). > >VersionsRIOS comes in three versions. A non-preemptive version with >either >simple or state-machine based tasks. Simple examples for each version >is >available below for you to copy/paste. Each example targets the RIMS >software (Programming Embedded Systems >). By >copying/pasting, >downloading, or using the code in any way, you are agreeing to the EULA >. >--=20 >http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive >View/change your membership options at >http://mailman.mit.edu/mailman/listinfo/piclist --=20 Enviado de meu dispositivo Android com K-9 mail. Desculpe-me pela brevidade= .. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .