#ifndef OR_TIMERS #define OR_TIMERS void createDLTimer(Task *task, double time) { Timer *t = new Timer; t->name = NULL; t-…
LinkSwitch-TN 源代码
汇集 LinkSwitch-TN 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
#ifndef FIND_Q #define FIND_Q TaskNode *findInQ(char *nameOfTask, List* queue) { bool found = false; TaskNode* tn = (TaskNod…
#ifndef MOVE_READY #define MOVE_READY void moveToReadyQ(Task *t) { TaskNode* tmp = (TaskNode*) rtsys->readyQ->getLast(); Ta…
#ifndef SET_ABS_DEADLINE #define SET_ABS_DEADLINE #include "gettask.cpp" #include "findQ.cpp" #include "moveready.cpp" void upda…
#ifndef GET_TASK #define GET_TASK Task *getTask(char *nameOfTask) { if (rtsys->prioFcn == NULL) { printf("Kernel not initi…
#ifndef NOTIFY_ALL #define NOTIFY_ALL #include "moveready.cpp" void ttNotifyAll(char *nameOfEvent) { EventNode* en; Event…
#ifndef REMOVE_TIMER #define REMOVE_TIMER void ttRemoveTimer(char *nameOfTimer) { bool found = false; TimerNode *tn; tn…
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright (c) 1997 Regents of the University of C…
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright (c) 1997 Regents of the University of C…
.\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" .\" Redistribution a…