BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-25-2010, 09:40 AM   #1 (permalink)
New Member
 
Join Date: Aug 2010
Model: nil
PIN: N/A
Carrier: NIL
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Threading and event notification

Please Login to Remove!

Hi
I am a newbie in blackberry java implementation(JDE 5.0).

I want to know how can we have two threads running simultaneously and one thread intimating the other thread to stop or wait.

In .Net we have event notification.Similarly how can it be implemneted in blackberry java .Please provide some refernces or sample code for implementing the same

Waiting for suggestions
Thanks in advance
Offline  
Old 08-25-2010, 01:30 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

If the two threads retain a reference to each other, then thread 'A' can call

Thread.interrupt()

...on thread 'B'
Offline  
Old 08-31-2010, 05:03 AM   #3 (permalink)
New Member
 
Join Date: Aug 2010
Model: 7100T
PIN: N/A
Carrier: dnt know
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am searching the same thing... pls help me i m also fresher ...
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

New 1Pcs Keyence Amplifier Fs-N12n Fsn12n Fiber Optic Sensor Plc Module V
$59.99
New 1Pcs Keyence Amplifier Fs-N12n Fsn12n Fiber Optic Sensor Plc Module V pictureKollmorgen BDS4 203J0028/1502A34P
$150.0
Kollmorgen BDS4 203J0028/1502A34P picture5Pcs Jfet Dual Lf353p ( Lf353 Lf-353 ) Dip Operational Amplifier Op Amp Ic New M
$1.8
5Pcs Jfet Dual Lf353p ( Lf353 Lf-353 ) Dip Operational Amplifier Op Amp Ic New M picturePAM8403 Mini Digital Power Amplifier Board DC AMP Module 5V Perfect
$0.89
PAM8403 Mini Digital Power Amplifier Board DC AMP Module 5V Perfect picture1PC New Knick DC-LSOLATION Amplifier B 13028 F1
$390.0
1PC New Knick DC-LSOLATION Amplifier B 13028 F1 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.