Skip to content

Commit 9db78f9

Browse files
authored
Merge pull request #1039 from megacct/readSock
Update MbedClient.cpp fix readSocket osPriority and name the thread
2 parents 8a56bdf + 38c56fb commit 9db78f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SocketWrapper/src/MbedClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void arduino::MbedClient::configureSocket(Socket *_s) {
7171
}
7272
mutex->lock();
7373
if (reader_th == nullptr) {
74-
reader_th = new rtos::Thread(osPriorityNormal - 2);
74+
reader_th = new rtos::Thread(osPriorityNormal, OS_STACK_SIZE, nullptr, "readSocket");
7575
reader_th->start(mbed::callback(this, &MbedClient::readSocket));
7676
}
7777
mutex->unlock();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy