This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

netUninitialize is crashing the code.

Hi  I am using Network Component  Version 7.12.0 for one of the project.

When I call netUninitialize the code is getting crashed or some time it goes to osRtxErrorNotify function with osRtxErrorClibMutex case.

Could any one help me out on how to debug this issue.

Parents
  • Hello,

    netUinitialize (); works fine in example program and i am facing issue only when i integrate it with actual project. Actual project has a C++ environment.

    Before creating the Support Ticket I just need to understand couple of things:

    1. In the Doc in netInitialize section a note is given .i.e "You must call the function at system start-up to properly initialize the networking environment."  Does System Start-Up refers to hardware initialization function?

    2. Both netInitialize() and netUninitialize() are not_thread_safe. "[not_thread-safe] functions cannot be used from different threads. It is allowed to be used from the same thread, in which the Network Core super-loop is running."

    what is Network Core super-loop?

Reply
  • Hello,

    netUinitialize (); works fine in example program and i am facing issue only when i integrate it with actual project. Actual project has a C++ environment.

    Before creating the Support Ticket I just need to understand couple of things:

    1. In the Doc in netInitialize section a note is given .i.e "You must call the function at system start-up to properly initialize the networking environment."  Does System Start-Up refers to hardware initialization function?

    2. Both netInitialize() and netUninitialize() are not_thread_safe. "[not_thread-safe] functions cannot be used from different threads. It is allowed to be used from the same thread, in which the Network Core super-loop is running."

    what is Network Core super-loop?

Children
No data