Merge pull request #3394 from ARMmbed/release-candidate

Release candidate for mbed-os-5.3.0-rc3
pull/3433/head mbed-os-5.3.0-rc3
Martin Kojtal 2016-12-08 13:35:38 +01:00 committed by GitHub
commit 7b974cac65
7 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@
#include "mbed.h" #include "mbed.h"
TCPServer::TCPServer() TCPServer::TCPServer()
: _pending(0), _accept_sem(0) : _pending(1), _accept_sem(0)
{ {
} }

View File

@ -46,7 +46,7 @@ public:
*/ */
template <typename S> template <typename S>
TCPServer(S *stack) TCPServer(S *stack)
: _pending(0), _accept_sem(0) : _pending(1), _accept_sem(0)
{ {
open(stack); open(stack);
} }

View File

@ -19,7 +19,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
TCPSocket::TCPSocket() 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) _read_in_progress(false), _write_in_progress(false)
{ {
} }

View File

@ -45,7 +45,7 @@ public:
*/ */
template <typename S> template <typename S>
TCPSocket(S *stack) 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) _read_in_progress(false), _write_in_progress(false)
{ {
open(stack); open(stack);

View File

@ -19,7 +19,7 @@
#include "mbed_assert.h" #include "mbed_assert.h"
UDPSocket::UDPSocket() UDPSocket::UDPSocket()
: _pending(0), _read_sem(0), _write_sem(0) : _pending(1), _read_sem(0), _write_sem(0)
{ {
} }

View File

@ -45,7 +45,7 @@ public:
*/ */
template <typename S> template <typename S>
UDPSocket(S *stack) UDPSocket(S *stack)
: _pending(0), _read_sem(0), _write_sem(0) : _pending(1), _read_sem(0), _write_sem(0)
{ {
open(stack); open(stack);
} }

View File

@ -472,7 +472,7 @@ class mbedToolchain:
# This is a policy decision and it should /really/ be in the config system # This is a policy decision and it should /really/ be in the config system
# ATM it's here for backward compatibility # 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 "-O0") in self.flags['common'] or
("-r" in self.flags['common'] and ("-r" in self.flags['common'] and
"-On" in self.flags['common'])): "-On" in self.flags['common'])):