Multi-threading

hey guys, i have created an application that reads and parses NMEA sentences and displays latitude/longitude values on the screen.But at the same time, it should also display images that are stored in hte database(rms) that correspond to the current latitude/longitude values.This is all done in a single thread.It all works fine for the first received and read NMEA fields, but after few updates, my application stops reading any more data, i assume the processor cnt hand processing NMEA data and search through the database for the right image at the same time.my qn is, if instead of using a single thread to do all this and use multithreading instead,that is, one thread for handling NMEA data and the other for searching through the RMS and retrive the information i want, would this solve my problem?

Thankx

Yusra

[839 byte] By [yusraa] at [2007-10-3 3:54:50]
# 1
Yes you should use multithreading as single thread can blocl operations
sailesh_dita at 2007-7-14 21:52:52 > top of Java-index,Java Mobility Forums,Java ME Technologies...