×
Namespaces

Variants
Actions
Revision as of 07:55, 28 June 2012 by hamishwillee (Talk | contribs)

Archived:Receiving and sending threads on a single UDP connection block each other (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.


Article Metadata
Tested with
Devices(s): Nokia 6270, Nokia 6280 (only sw version 3.xx), Nokia 7370, Nokia 6111
Compatibility
Platform(s): Series 40 1st Edition, Series 40 2nd Edition, some S40 3rd Edition devices
All Series 40 1st Edition and Series 40 2nd Edition devices
Series 40
Series 40 3rd Edition (initial release)
Series 40 2nd Edition
Series 40 1st Edition
Article
Created: User:Technical writer 1 (21 Apr 2006)
Last edited: hamishwillee (28 Jun 2012)

Overview

When using two threads on a single UDP connection, receiving and sending block each other.

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.

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.

54 page views in the last 30 days.
×