Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

thread

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please reply in brief
1. If you specify anchor field there is no meaning to set fill field is BOTH -true
2.A copy of the original event is passed into a listener method.//false
ref is passed
3a.does throwing interrupted exception stop the thread executing.???//i think it's false
3b. The thread executes a read() call on an InputStream -does this stop a thread??
[This message has been edited by hema janani (edited September 23, 2000).]
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1.i think u have the answer wrongly.actually when the fill is BOTH there is no use in palcing the component in the cell since it fills the cell.
3a)when the thread is at sleep call the interrupted method to make it in a ready state.right.so this does not stop excution.it starts te execution.like u alwyas have Interrupted Exception with the sleep() method
2b)when the thread is trying to read from the input it is waiting for the i/o till it gets and then proceeds.this is temporarily stoppin the thread
[This message has been edited by amutha chellappan (edited September 22, 2000).]
 
hema janani
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[2b)when the thread is trying to read from the input it is waiting for the i/o till it gets and then proceeds.this is temporarily stoppin the thread
so when they ask would the thread stop executing-should it be true or false.
becoz even though it's temporary,it's definately is stopping the thread from execution.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic