mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08:33 -04:00
Lowered the thread priorities used by the Win32 port, and added in a method to delete tasks in the Win32 port.
This commit is contained in:
parent
a3c26cad3d
commit
0ecde20ab3
2 changed files with 56 additions and 30 deletions
|
@ -55,7 +55,6 @@
|
|||
#define PORTMACRO_H
|
||||
|
||||
#include <Windows.h>
|
||||
//#include <tchar.h>
|
||||
|
||||
/******************************************************************************
|
||||
Defines
|
||||
|
@ -83,6 +82,9 @@
|
|||
#define portBYTE_ALIGNMENT 4
|
||||
|
||||
#define portYIELD() vPortGeneratePseudoInterrupt( portINTERRUPT_YIELD )
|
||||
|
||||
void vPortDeleteThread( void *pvThreadToDelete );
|
||||
#define traceTASK_DELETE( pxTCB ) vPortDeleteThread( pxTCB )
|
||||
#define portDISABLE_INTERRUPTS()
|
||||
#define portENABLE_INTERRUPTS()
|
||||
|
||||
|
@ -100,6 +102,7 @@ void vPortExitCritical( void );
|
|||
|
||||
#define portINTERRUPT_YIELD ( 0UL )
|
||||
#define portINTERRUPT_TICK ( 1UL )
|
||||
#define portINTERRUPT_DELETE_THREAD ( 2UL )
|
||||
|
||||
/*
|
||||
* Raise a simulated interrupt represented by the bit mask in ulInterruptMask.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue