Release 6.1.9
This commit is contained in:
@@ -95,7 +95,7 @@ TX_THREAD *current_thread;
|
||||
/* Mutex pointer is invalid, return appropriate error code. */
|
||||
status = TX_MUTEX_ERROR;
|
||||
}
|
||||
|
||||
|
||||
/* Now check for a valid mutex ID. */
|
||||
else if (mutex_ptr -> tx_mutex_id != TX_MUTEX_ID)
|
||||
{
|
||||
@@ -106,7 +106,7 @@ TX_THREAD *current_thread;
|
||||
else
|
||||
{
|
||||
|
||||
/* Check for a wait option error. Only threads are allowed any form of
|
||||
/* Check for a wait option error. Only threads are allowed any form of
|
||||
suspension. */
|
||||
if (wait_option != TX_NO_WAIT)
|
||||
{
|
||||
@@ -145,11 +145,11 @@ TX_THREAD *current_thread;
|
||||
/* 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)
|
||||
{
|
||||
|
||||
|
||||
/* Yes, invalid caller of this function, return appropriate error code. */
|
||||
status = TX_CALLER_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user