Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 10:50, 23 August 2007.

KIJ000332 - Receiving and sending threads on a single UDP connection block each other

From Forum Nokia Wiki


Using receiving and sending threads on a single UDP connection block each other
KIJ000332
Overview
When using two threads on a single UDP connection, receiving and sending block each other.  
Reported against
Series 40 1st Edition, Series 40 2nd Edition, some S40 3rd Edition devices
All Series 40 1st Edition and Series 40 2nd Edition devices, Nokia 6270, Nokia 6280 (only sw version 3.xx), Nokia 7370, Nokia 6111
Date identified
April 21, 2006
Symptoms
-
Detailed description
When using two threads on a single UDP connection, receiving and sending block each other.  If an application sets up the receiving thread before sending the first packet, then it will become deadlocked.  Also, while it is waiting for a response from the server, it can’t retry sending.
How to reproduce
-
Solution
Use an alternative implementation method. If possible, always set up a sending thread first.
This is fixed in newer Series 40 3rd Edition devices.
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX