- This topic has 2 replies, 2 voices, and was last updated 2 years, 2 months ago by .
- You must be logged in to reply to this topic.
Tagged: Email Web Server Multithreading
Is there any issue using the email library at the same time as a web server (and Modbus in my case). They are working on different ports, but I am wondering if there is any issue at the hardware level.
I am using them under mBed, so there is a chance that multithreading may result in one being interrupted by the other.
I can add a Mutex if there is an issue to prevent this, but only want to do so if necessary to avoid extra overhead.
Thanks
Hi rs77can,
I think there is the possibility that the webserver and email need a good quantity of RAM.
What are the specs of the MCU you use?
Bye Renzo
I am using a Portenta H7, so RAM is not an issue.
I have been using the AsyncWebServer for the Web Server, but in light of no more support for those libraries. I am trying to change the application to the standard arduino Ethernet libraries.
Just wanted to make sure there were no issues running them in parallel.
Thanks
More
Just like a well-organized workbench, this website uses cookies to function properly and efficiently.
🛠️ The Essentials (Necessary): Some cookies are categorized as necessary and are stored on your browser because they are critical for the basic working of the site.
📊 The Analytics (Third-party): We also use third-party cookies to help us analyze traffic and understand which projects you like the most. These are stored only if you give us the green light.
You can choose to opt-out, but keep in mind that disabling them might make the site experience a bit less "smooth".
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
