[haiku-development] Creating a new thread

  • From: David Rawson Couzelis <drcouzelis@xxxxxxxxx>
  • To: Haiku Development Mailing List <haiku-development@xxxxxxxxxxxxx>
  • Date: Sat, 05 May 2012 08:40:54 -0400

My Haiku application will download information from the Internet. To
prevent the GUI from locking up I need to do the downloading in a
separate thread. (correct?)

I think I need to create a subclass of BLooper and override the "Run"
method. To control it, I send it messages.

Is a BLooper subclass the best way to make a new thread by using the
Haiku API?

Thank you.

Other related posts: