Commit a0876e6c authored by julien.delange's avatar julien.delange
Browse files

* avoid the use of prio_protect with xeno_posix



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@2408 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 8b89b936
......@@ -49,6 +49,7 @@ int __po_hi_protected_init ()
__PO_HI_DEBUG_DEBUG ("[PROTECTED] Error while initializing mutex attr\n");
}
#if defined (RTEMS_POSIX) || defined (POSIX)
if (__po_hi_protected_configuration[i] == __PO_HI_PROTECTED_IPCP)
{
if (pthread_mutexattr_setprotocol (&__po_hi_protected_mutexes_attr[i], PTHREAD_PRIO_PROTECT) != 0)
......@@ -69,6 +70,7 @@ int __po_hi_protected_init ()
}
}
#endif
if (__po_hi_protected_configuration[i] == __PO_HI_PROTECTED_PIP)
{
......
Supports Markdown
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