Release 6.1.9

This commit is contained in:
Yuxin Zhou
2021-10-14 00:51:26 +00:00
parent 215df45d4b
commit 1af8404c54
1812 changed files with 60698 additions and 249862 deletions

View File

@@ -149,7 +149,7 @@ TX_THREAD *thread_ptr;
/* Decrement the preempt disable flag. */
_tx_thread_preempt_disable--;
/* Restore interrupts. */
TX_RESTORE
@@ -175,7 +175,7 @@ TX_THREAD *thread_ptr;
{
/* Check for invalid pool size. */
if ((((block_size/(sizeof(void *)))*(sizeof(void *))) + (sizeof(void *))) >
if ((((block_size/(sizeof(void *)))*(sizeof(void *))) + (sizeof(void *))) >
((pool_size/(sizeof(void *)))*(sizeof(void *))))
{
@@ -202,11 +202,11 @@ TX_THREAD *thread_ptr;
/* Check for interrupt call. */
if (TX_THREAD_GET_SYSTEM_STATE() != ((ULONG) 0))
{
/* Now, make sure the call is from an interrupt and not initialization. */
if (TX_THREAD_GET_SYSTEM_STATE() < TX_INITIALIZE_IN_PROGRESS)
{
/* Invalid caller of this function, return appropriate error code. */
status = TX_CALLER_ERROR;
}