The MicroBlaze processor C and Vivado's C math libraries do not support multi-threaded environments.
Common C library functions such as printf(), scanf(), malloc(), and
free() are not thread-safe and causes unrecoverable
errors in the system at runtime. Use appropriate mutual exclusion mechanisms when using
the Vivado libraries in a multi-threaded
environment.