Commit ce2886a1 authored by yoogx's avatar yoogx

* Change usage of __PO_HI_DEBUG_WARNING and

          __PO_HI_DEBUG_DEBUG into __PO_HI_DEBUG_CRITICAL to report
          actual errors at run-time

          For issue #12
parent ee5b494f
......@@ -5,7 +5,7 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2010-2014 ESA & ISAE.
* Copyright (C) 2010-2016 ESA & ISAE.
*/
#include <po_hi_config.h>
......@@ -154,14 +154,14 @@ void __po_hi_gqueue_init (__po_hi_task_id id,
ret = rtems_semaphore_create (rtems_build_name ('G', 'S', 'E' , 'A' + (char) id), 1, RTEMS_BINARY_SEMAPHORE, __PO_HI_DEFAULT_PRIORITY, &(__po_hi_gqueues_semaphores[id]));
if (ret != RTEMS_SUCCESSFUL)
{
__PO_HI_DEBUG_WARNING ("[GQUEUE] Cannot create semaphore, error code=%d\n", ret);
__PO_HI_DEBUG_CRITICAL ("[GQUEUE] Cannot create semaphore, error code=%d\n", ret);
}
__PO_HI_DEBUG_INFO ("[GQUEUE] Create barrier for queue of task %d\n", id);
ret = rtems_barrier_create (rtems_build_name ('G', 'S', 'I' , 'A' + (char) id),RTEMS_BARRIER_AUTOMATIC_RELEASE , 10, &(__po_hi_gqueues_barriers[id]));
if (ret != RTEMS_SUCCESSFUL)
{
__PO_HI_DEBUG_WARNING ("[GQUEUE] Cannot create barrier, error code=%d\n", ret);
__PO_HI_DEBUG_CRITICAL ("[GQUEUE] Cannot create barrier, error code=%d\n", ret);
}
#endif
......@@ -170,14 +170,14 @@ void __po_hi_gqueue_init (__po_hi_task_id id,
if (ret != 0)
{
__PO_HI_DEBUG_WARNING ("[GQUEUE] Cannot create mutex code=%d\n", ret);
__PO_HI_DEBUG_CRITICAL ("[GQUEUE] Cannot create mutex code=%d\n", ret);
}
ret = rt_cond_create (&__po_hi_gqueues_conds[id], NULL);
if (ret != 0)
{
__PO_HI_DEBUG_WARNING ("[GQUEUE] Cannot create cond code=%d\n", ret);
__PO_HI_DEBUG_CRITICAL ("[GQUEUE] Cannot create cond code=%d\n", ret);
}
#endif
......@@ -186,7 +186,7 @@ void __po_hi_gqueue_init (__po_hi_task_id id,
if (__po_hi_gqueues_events[id] == NULL)
{
__PO_HI_DEBUG_WARNING("CreateEvent failed (%d)\n", GetLastError());
__PO_HI_DEBUG_CRITICAL ("CreateEvent failed (%d)\n", GetLastError());
return;
}
......@@ -413,7 +413,7 @@ void __po_hi_gqueue_wait_for_incoming_event (__po_hi_task_id id,
ret = WaitForSingleObject (__po_hi_gqueues_events[id], INFINITE);
if (ret == WAIT_FAILED)
{
__PO_HI_DEBUG_DEBUG ("[GQUEUE] Wait failed\n");
__PO_HI_DEBUG_CRITICAL ("[GQUEUE] Wait failed\n");
}
EnterCriticalSection(&__po_hi_gqueues_cs[id]);
#endif
......@@ -508,7 +508,7 @@ int __po_hi_gqueue_get_value (__po_hi_task_id id,
ret = WaitForSingleObject (__po_hi_gqueues_events[id], INFINITE);
if (ret == WAIT_FAILED)
{
__PO_HI_DEBUG_DEBUG ("[GQUEUE] Wait failed\n");
__PO_HI_DEBUG_CRITICAL ("[GQUEUE] Wait failed\n");
}
EnterCriticalSection(&__po_hi_gqueues_cs[id]);
#endif
......@@ -530,7 +530,6 @@ int __po_hi_gqueue_get_value (__po_hi_task_id id,
memcpy (request, ptr, sizeof (__po_hi_request_t));
}
__PO_HI_DEBUG_INFO ("[GQUEUE] Task %d get a value on port %d\n", id, port);
#if defined (POSIX) || defined (RTEMS_POSIX) || defined (XENO_POSIX)
......@@ -668,4 +667,3 @@ __po_hi_request_t* ptr;
memcpy (request, ptr, sizeof (__po_hi_request_t));
} return request;
}
......@@ -5,7 +5,7 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2011-2015 ESA & ISAE.
* Copyright (C) 2011-2016 ESA & ISAE.
*/
/*
......@@ -65,7 +65,7 @@ int __po_hi_monitor_get_status_port (const __po_hi_port_t port, __po_hi_monitor_
associated_device = __po_hi_get_device_from_port (port);
if (associated_device == invalid_device_id)
{
__PO_HI_DEBUG_DEBUG ("[MONITOR] This port is not associated to a valid device (device-id=%d)\n", associated_device);
__PO_HI_DEBUG_CRITICAL ("[MONITOR] This port is not associated to a valid device (device-id=%d)\n", associated_device);
return __PO_HI_UNAVAILABLE;
}
return __po_hi_monitor_get_status_device (associated_device, status);
......@@ -83,7 +83,7 @@ int __po_hi_monitor_get_status_device (const __po_hi_device_id device,
if ((device < 0) || (device >= __PO_HI_NB_DEVICES))
{
__PO_HI_DEBUG_DEBUG ("[MONITOR] invalid device-id %d\n", device);
__PO_HI_DEBUG_CRITICAL ("[MONITOR] invalid device-id %d\n", device);
return __PO_HI_UNAVAILABLE;
}
......@@ -129,7 +129,7 @@ int __po_hi_monitor_get_status_bus (const __po_hi_bus_id bus,
if ((bus < 0) || (bus >= __PO_HI_NB_BUSES))
{
__PO_HI_DEBUG_DEBUG ("[MONITOR] invalid bus-id %d\n", bus);
__PO_HI_DEBUG_CRITICAL ("[MONITOR] invalid bus-id %d\n", bus);
return __PO_HI_UNAVAILABLE;
}
......@@ -161,7 +161,7 @@ int __po_hi_monitor_report_failure_bus (const __po_hi_bus_id bus,
if ((bus < 0) || (bus >= __PO_HI_NB_BUSES))
{
__PO_HI_DEBUG_DEBUG ("[MONITOR] invalid bus-id %d\n", bus);
__PO_HI_DEBUG_CRITICAL ("[MONITOR] invalid bus-id %d\n", bus);
return __PO_HI_UNAVAILABLE;
}
......@@ -187,7 +187,7 @@ int __po_hi_monitor_report_failure_device (const __po_hi_device_id device,
if ((device < 0) || (device >= __PO_HI_NB_DEVICES))
{
__PO_HI_DEBUG_DEBUG ("[MONITOR] invalid device-id %d\n", device);
__PO_HI_DEBUG_CRITICAL ("[MONITOR] invalid device-id %d\n", device);
return __PO_HI_UNAVAILABLE;
}
......@@ -214,7 +214,7 @@ int __po_hi_monitor_report_failure_port (const __po_hi_port_t port,
associated_device = __po_hi_get_device_from_port (port);
if (associated_device == invalid_device_id)
{
__PO_HI_DEBUG_DEBUG ("[MONITOR] This port is not associated to a valid device (device-id=%d)\n", associated_device);
__PO_HI_DEBUG_CRITICAL ("[MONITOR] This port is not associated to a valid device (device-id=%d)\n", associated_device);
return __PO_HI_UNAVAILABLE;
}
return __po_hi_monitor_report_failure_device (associated_device, failure);
......@@ -225,7 +225,7 @@ int __po_hi_monitor_recover_bus (const __po_hi_bus_id bus)
__PO_HI_DEBUG_DEBUG ("[MONITOR] call __po_hi_monitor_recover_bus with argument %d\n", bus);
if ((bus < 0) || (bus >= __PO_HI_NB_BUSES))
{
__PO_HI_DEBUG_DEBUG ("[MONITOR] invalid bus-id %d\n", bus);
__PO_HI_DEBUG_CRITICAL ("[MONITOR] invalid bus-id %d\n", bus);
return __PO_HI_UNAVAILABLE;
}
......@@ -239,7 +239,7 @@ int __po_hi_monitor_recover_device (const __po_hi_device_id device)
__PO_HI_DEBUG_DEBUG ("[MONITOR] call __po_hi_monitor_recover_device with argument %d\n", device);
if ((device < 0) || (device >= __PO_HI_NB_DEVICES))
{
__PO_HI_DEBUG_DEBUG ("[MONITOR] invalid device-id %d\n", device);
__PO_HI_DEBUG_CRITICAL ("[MONITOR] invalid device-id %d\n", device);
return __PO_HI_UNAVAILABLE;
}
......@@ -256,7 +256,7 @@ int __po_hi_monitor_recover_port (const __po_hi_port_t port)
associated_device = __po_hi_get_device_from_port (port);
if (associated_device == invalid_device_id)
{
__PO_HI_DEBUG_DEBUG ("[MONITOR] This port is not associated to a valid device (device-id=%d)\n", associated_device);
__PO_HI_DEBUG_CRITICAL ("[MONITOR] This port is not associated to a valid device (device-id=%d)\n", associated_device);
return __PO_HI_UNAVAILABLE;
}
return __po_hi_monitor_recover_device (associated_device);
......
......@@ -5,7 +5,7 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-2014 ESA & ISAE.
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-2016 ESA & ISAE.
*/
#include <po_hi_config.h>
......@@ -54,7 +54,7 @@ int __po_hi_protected_init ()
{
if (__po_hi_mutex_init (&__po_hi_protected_mutexes[i], __po_hi_protected_configuration[i], __po_hi_protected_priorities[i]) != __PO_HI_SUCCESS)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when initialize protected resource %d\n", i);
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when initialize protected resource %d\n", i);
}
}
return (__PO_HI_SUCCESS);
......@@ -62,15 +62,15 @@ int __po_hi_protected_init ()
int __po_hi_protected_lock (__po_hi_protected_t protected_id)
{
__PO_HI_INSTRUMENTATION_VCD_WRITE("1w%d\n", protected_id);
__PO_HI_INSTRUMENTATION_VCD_WRITE("1w%d\n", protected_id);
if (__po_hi_mutex_lock (&__po_hi_protected_mutexes[protected_id]) != __PO_HI_SUCCESS )
{
__PO_HI_INSTRUMENTATION_VCD_WRITE("0w%d\n", protected_id);
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when lock protected resource %d\n", protected_id);
__PO_HI_INSTRUMENTATION_VCD_WRITE("0w%d\n", protected_id);
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when lock protected resource %d\n", protected_id);
return __PO_HI_ERROR_PROTECTED_LOCK;
}
__PO_HI_INSTRUMENTATION_VCD_WRITE("0w%d\n", protected_id);
__PO_HI_INSTRUMENTATION_VCD_WRITE("1l%d\n", protected_id);
__PO_HI_INSTRUMENTATION_VCD_WRITE("0w%d\n", protected_id);
__PO_HI_INSTRUMENTATION_VCD_WRITE("1l%d\n", protected_id);
return __PO_HI_SUCCESS;
}
......@@ -78,10 +78,10 @@ int __po_hi_protected_lock (__po_hi_protected_t protected_id)
int __po_hi_protected_unlock (__po_hi_protected_t protected_id)
{
__PO_HI_INSTRUMENTATION_VCD_WRITE("0l%d\n", protected_id);
__PO_HI_INSTRUMENTATION_VCD_WRITE("0l%d\n", protected_id);
if (__po_hi_mutex_unlock (&__po_hi_protected_mutexes[protected_id]) != __PO_HI_SUCCESS )
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when unlock protected resource %d\n", protected_id);
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when unlock protected resource %d\n", protected_id);
return __PO_HI_ERROR_PROTECTED_UNLOCK;
}
......@@ -108,7 +108,7 @@ int __po_hi_mutex_init (__po_hi_mutex_t* mutex, const __po_hi_mutex_protocol_t p
#if defined (RTEMS_POSIX) || defined (POSIX) || defined (XENO_POSIX)
if (pthread_mutexattr_init (&mutex->posix_mutexattr) != 0)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when initializing the mutex\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when initializing the mutex\n");
}
switch (protocol)
......@@ -117,7 +117,7 @@ int __po_hi_mutex_init (__po_hi_mutex_t* mutex, const __po_hi_mutex_protocol_t p
{
if (pthread_mutexattr_setprotocol (&mutex->posix_mutexattr, PTHREAD_PRIO_PROTECT) != 0)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error while changing mutex protocol\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error while changing mutex protocol\n");
}
if (priority == 0)
......@@ -131,7 +131,7 @@ int __po_hi_mutex_init (__po_hi_mutex_t* mutex, const __po_hi_mutex_protocol_t p
if (pthread_mutexattr_setprioceiling (&mutex->posix_mutexattr, mutex->priority) != 0)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error while changing mutex priority\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error while changing mutex priority\n");
}
break;
}
......@@ -140,7 +140,7 @@ int __po_hi_mutex_init (__po_hi_mutex_t* mutex, const __po_hi_mutex_protocol_t p
{
if (pthread_mutexattr_setprotocol (&mutex->posix_mutexattr, PTHREAD_PRIO_INHERIT) != 0)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error while changing mutex protocol\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error while changing mutex protocol\n");
}
break;
}
......@@ -152,30 +152,30 @@ int __po_hi_mutex_init (__po_hi_mutex_t* mutex, const __po_hi_mutex_protocol_t p
if (pthread_mutex_init (&mutex->posix_mutex, &mutex->posix_mutexattr) != 0)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error while creating mutex\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error while creating mutex\n");
return __PO_HI_ERROR_UNKNOWN;
}
#endif
#if defined (XENO_NATIVE)
if (rt_mutex_create (&mutex->xeno_mutex, NULL) != 0)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error while creating mutex\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error while creating mutex\n");
return __PO_HI_ERROR_UNKNOWN;
}
#endif
#ifdef RTEMS_PURE
if (rtems_semaphore_create (rtems_build_name ('P', 'S', 'E' , 'A' + (char) nb_mutex++), 1, RTEMS_BINARY_SEMAPHORE, __PO_HI_DEFAULT_PRIORITY, &mutex->rtems_mutex) != RTEMS_SUCCESSFUL)
{
__DEBUGMSG ("[PROTECTED] Cannot create RTEMS binary semaphore\n");
return __PO_HI_ERROR_PROTECTED_CREATE;
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Cannot create RTEMS binary semaphore\n");
return __PO_HI_ERROR_PROTECTED_CREATE;
}
#endif
#ifdef _WIN32
mutex->win32_mutex = CreateMutex (NULL, FALSE, NULL);
if (mutex->win32_mutex == NULL)
{
__DEBUGMSG ("[PROTECTED] Cannot create WIN32 mutex\n");
return __PO_HI_ERROR_PROTECTED_CREATE;
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Cannot create WIN32 mutex\n");
return __PO_HI_ERROR_PROTECTED_CREATE;
}
#endif
return (__PO_HI_SUCCESS);
......@@ -187,21 +187,21 @@ int __po_hi_mutex_lock (__po_hi_mutex_t* mutex)
#if defined (RTEMS_POSIX) || defined (POSIX) || defined (XENO_POSIX)
if (pthread_mutex_lock (&mutex->posix_mutex) != 0 )
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when trying to lock mutex\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when trying to lock mutex\n");
return __PO_HI_ERROR_MUTEX_LOCK;
}
#endif
#ifdef RTEMS_PURE
if (rtems_semaphore_obtain (mutex->rtems_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT) != RTEMS_SUCCESSFUL)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when trying to lock mutex\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when trying to lock mutex\n");
return __PO_HI_ERROR_MUTEX_LOCK;
}
#endif
#ifdef XENO_NATIVE
if (rt_mutex_acquire (&mutex->xeno_mutex, TM_INFINITE) != 0 )
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when trying to lock mutex\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when trying to lock mutex\n");
return __PO_HI_ERROR_MUTEX_LOCK;
}
#endif
......@@ -211,12 +211,12 @@ int __po_hi_mutex_lock (__po_hi_mutex_t* mutex)
if (status == WAIT_ABANDONED)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Lock failed (abandon)\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Lock failed (abandon)\n");
return __PO_HI_ERROR_MUTEX_LOCK;
}
if (status == WAIT_FAILED)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Lock failed (failure)\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Lock failed (failure)\n");
return __PO_HI_ERROR_MUTEX_LOCK;
}
......@@ -229,28 +229,28 @@ int __po_hi_mutex_unlock (__po_hi_mutex_t* mutex)
#if defined (RTEMS_POSIX) || defined (POSIX) || defined (XENO_POSIX)
if (pthread_mutex_unlock (&mutex->posix_mutex) != 0 )
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when trying to unlock mutex\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when trying to unlock mutex\n");
return __PO_HI_ERROR_MUTEX_UNLOCK;
}
#endif
#ifdef RTEMS_PURE
if (rtems_semaphore_release (mutex->rtems_mutex) != RTEMS_SUCCESSFUL)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when trying to unlock mutex\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when trying to unlock mutex\n");
return __PO_HI_ERROR_MUTEX_UNLOCK;
}
#endif
#ifdef XENO_NATIVE
if (rt_mutex_release (&mutex->xeno_mutex) != 0 )
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error when trying to unlock mutex\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Error when trying to unlock mutex\n");
return __PO_HI_ERROR_MUTEX_UNLOCK;
}
#endif
#ifdef _WIN32
if (ReleaseMutex (mutex->win32_mutex) == 0)
{
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Release failed\n");
__PO_HI_DEBUG_CRITICAL ("[PROTECTED] Release failed\n");
return __PO_HI_ERROR_MUTEX_UNLOCK;
}
#endif
......
......@@ -153,7 +153,7 @@ void __po_hi_wait_for_tasks ()
ret = rt_task_join (&(tasks[0].xeno_id));
if (ret != 0)
{
__PO_HI_DEBUG_DEBUG ("Error while calling rt_task_suspend in __po_hi_wait_for_tasks (ret=%d)\n", ret);
__PO_HI_DEBUG_CRITICAL ("Error while calling rt_task_suspend in __po_hi_wait_for_tasks (ret=%d)\n", ret);
}
}
#elif defined (SIMULATOR)
......@@ -404,7 +404,7 @@ pthread_t __po_hi_posix_create_thread (__po_hi_priority_t priority,
err = pthread_create (&tid, &attr, (void* (*)(void*))start_routine, arg);
if (err != 0)
{
__PO_HI_DEBUG_CRITICAL("Thread creation failed - pthread_create returned %d\n", err);
__PO_HI_DEBUG_CRITICAL ("Thread creation failed - pthread_create returned %d\n", err);
return ((pthread_t)__PO_HI_ERROR_PTHREAD_CREATE);
}
......@@ -750,18 +750,18 @@ int __po_hi_task_delay_until (__po_hi_time_t* time, __po_hi_task_id task)
if (!SetWaitableTimer(hTimer, &ularge, 0, NULL, NULL, 0))
{
__PO_HI_DEBUG_DEBUG("[DELAY UNTIL] SetWaitableTimer failed (%d)\n", GetLastError());
__PO_HI_DEBUG_CRITICAL("[DELAY UNTIL] SetWaitableTimer failed (%d)\n", GetLastError());
return 2;
}
if (WaitForSingleObject(hTimer, INFINITE) != WAIT_OBJECT_0)
{
__PO_HI_DEBUG_DEBUG("[DELAY UNTIL] WaitForSingleObject failed (%d)\n", GetLastError());
__PO_HI_DEBUG_CRITICAL("[DELAY UNTIL] WaitForSingleObject failed (%d)\n", GetLastError());
}
if (CloseHandle(hTimer) != TRUE)
{
__PO_HI_DEBUG_DEBUG("[DELAY UNTIL] CloseHandle failed (%d)\n", GetLastError());
__PO_HI_DEBUG_CRITICAL("[DELAY UNTIL] CloseHandle failed (%d)\n", GetLastError());
}
......
......@@ -245,18 +245,18 @@ int __po_hi_delay_until (const __po_hi_time_t* time)
if (!SetWaitableTimer(hTimer, &ularge, 0, NULL, NULL, 0))
{
__PO_HI_DEBUG_DEBUG("[DELAY UNTIL] SetWaitableTimer failed (%d)\n", GetLastError());
__PO_HI_DEBUG_CRITICAL("[DELAY UNTIL] SetWaitableTimer failed (%d)\n", GetLastError());
return 2;
}
if (WaitForSingleObject(hTimer, INFINITE) != WAIT_OBJECT_0)
{
__PO_HI_DEBUG_DEBUG("[DELAY UNTIL] WaitForSingleObject failed (%d)\n", GetLastError());
__PO_HI_DEBUG_CRITICAL("[DELAY UNTIL] WaitForSingleObject failed (%d)\n", GetLastError());
}
if (CloseHandle(hTimer) != TRUE)
{
__PO_HI_DEBUG_DEBUG("[DELAY UNTIL] CloseHandle failed (%d)\n", GetLastError());
__PO_HI_DEBUG_CRITICAL("[DELAY UNTIL] CloseHandle failed (%d)\n", GetLastError());
}
return __PO_HI_SUCCESS;
......
......@@ -5,7 +5,7 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-2015 ESA & ISAE.
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-2016 ESA & ISAE.
*/
#include<stddef.h>
......@@ -144,7 +144,7 @@ int __po_hi_transport_send (__po_hi_task_id id, __po_hi_port_t port)
if (ret < 0)
{
__PO_HI_DEBUG_DEBUG ("[GQUEUE] Cannot deliver the data using inter-partitions ports, return=%d\n", ret);
__PO_HI_DEBUG_CRITICAL ("[GQUEUE] Cannot deliver the data using inter-partitions ports, return=%d\n", ret);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment