ThreadX NetX Duo Multithreading

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ThreadX NetX Duo Multithreading

720 Views
MulattoKid
Contributor IV

Hi,

I'm wondering if there are any restrictions on using NetX Duo resources from multiple threads? E.g. assuming that an NX_IP object has been created using nx_ip_create (which looks to be thread safe as it disables interrupts when placing the create NX_IP object in the IP control block), can this object be passed to other API functions without explicit synchronization from the user application?

I'm investigating an issue where a call to nx_web_http_client_response_body_get sporadically fails with NX_SECURE_TLS_INVALID_STATE, which comes from the fact that the TLS socket seems to have been reset, and its type is NX_SECURE_TLS_SESSION_TYPE_NONE. Removing the other threads that share the network resources of the thread in question seems to resolve the issue, but I can't find anything in the NetX Duo documentation specifying whether multithreading is inherently supported.

Kind regards,
Daniel

Tags (2)
0 Kudos
Reply
3 Replies

701 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

there is no restriction to use multithread and multiprocessing on i.MX8, mabe someone of @threadx could help with this.

regards

0 Kudos
Reply

678 Views
MulattoKid
Contributor IV

Do you have direct contact with the developers of ThreadX, are they available to answer in this forum?

0 Kudos
Reply

674 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

No,They should be available trough this forum but you can send an email:

https://rtosx.com/threadx-tech-support/

 

Regards

0 Kudos
Reply