debug version
Dependents: HTTPClient_WiFi_HelloWorld_src
Fork of SNICInterface by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 39:a1233ca02edf
- Parent:
- 38:f13e4e563d65
- Child:
- 40:b6b10c22a121
diff -r f13e4e563d65 -r a1233ca02edf Socket/TCPSocketConnection.cpp --- a/Socket/TCPSocketConnection.cpp Wed Jun 25 00:04:11 2014 +0000 +++ b/Socket/TCPSocketConnection.cpp Tue Jul 15 02:08:42 2014 +0000 @@ -15,18 +15,9 @@ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/******************* Murata Manufacturing Co.,Ltd. 2014 ***************** - * - * Filename: TCPSocketConnection.cpp - * - * Purpose: This module has implementation of TCP connection. - * - * $Author: kishino $ - * - * $Date: 2014/03/26 $ - * - * $Revision: 0.0.0.1 $ - * ***********************************************************************/ +/* Copyright (C) 2014 Murata Manufacturing Co.,Ltd., MIT License + * port to the muRata, SWITCH SCIENCE Wi-FI module TypeYD-SNIC UART. + */ #include "TCPSocketConnection.h" #include <cstring> @@ -240,7 +231,9 @@ if( con_info_p->recvbuf_p->isEmpty() ) { + con_info_p->mutex.lock(); con_info_p->is_received = false; + con_info_p->mutex.unlock(); } return i;