Skip to content

Release candidate for mbed-os-5.3.0-rc3 #3394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/netsocket/TCPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "mbed.h"

TCPServer::TCPServer()
: _pending(0), _accept_sem(0)
: _pending(1), _accept_sem(0)
{
}

Expand Down
2 changes: 1 addition & 1 deletion features/netsocket/TCPServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class TCPServer : public Socket {
*/
template <typename S>
TCPServer(S *stack)
: _pending(0), _accept_sem(0)
: _pending(1), _accept_sem(0)
{
open(stack);
}
Expand Down
2 changes: 1 addition & 1 deletion features/netsocket/TCPSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "mbed_assert.h"

TCPSocket::TCPSocket()
: _pending(0), _read_sem(0), _write_sem(0),
: _pending(1), _read_sem(0), _write_sem(0),
_read_in_progress(false), _write_in_progress(false)
{
}
Expand Down
2 changes: 1 addition & 1 deletion features/netsocket/TCPSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class TCPSocket : public Socket {
*/
template <typename S>
TCPSocket(S *stack)
: _pending(0), _read_sem(0), _write_sem(0),
: _pending(1), _read_sem(0), _write_sem(0),
_read_in_progress(false), _write_in_progress(false)
{
open(stack);
Expand Down
2 changes: 1 addition & 1 deletion features/netsocket/UDPSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "mbed_assert.h"

UDPSocket::UDPSocket()
: _pending(0), _read_sem(0), _write_sem(0)
: _pending(1), _read_sem(0), _write_sem(0)
{
}

Expand Down
2 changes: 1 addition & 1 deletion features/netsocket/UDPSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class UDPSocket : public Socket {
*/
template <typename S>
UDPSocket(S *stack)
: _pending(0), _read_sem(0), _write_sem(0)
: _pending(1), _read_sem(0), _write_sem(0)
{
open(stack);
}
Expand Down
2 changes: 1 addition & 1 deletion tools/toolchains/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def get_labels(self):

# This is a policy decision and it should /really/ be in the config system
# ATM it's here for backward compatibility
if (("-g" in self.flags['common'] and
if ((("-g" in self.flags['common'] or "-g3" in self.flags['common']) and
"-O0") in self.flags['common'] or
("-r" in self.flags['common'] and
"-On" in self.flags['common'])):
Expand Down