port_thread.c
来自「在AVR单片机上使用的一款RTOS」· C语言 代码 · 共 32 行
C
32 行
/*
* iRTOS
* Copyright (C) 2008 Dmitriy Cherepanov
*
* This file is part of iRTOS
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public either
* version 2.1 of the License, or (at your option) any later version.
* This source is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* Do not be lasy! For the latest version see http://irtos.sourceforge.net .
*/
#include "iRTOS.h"
#include "port_thread.h"
#include "port_clock.h"
#include "kernel/thread.h"
#include "kernel/variables.h"
#include "kernel/clock.h"
/*byte swap*/
#include "kernel/macros.h"
/**for malloc*/
#include "kernel/heap.h"
/*for memset*/
#include <string.h>
/*----------------------------------------------------------------------------*/
/** \file
*\if russian_lng
* 项痱桊箦禧
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?