When to use thread/fork?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.

One of my application actions is time consuming, and I want to be
lauched in a separate process/thread, with it's own dialog and its own
progress bar. I don't want the GUI to get freezed waiting that action to
complete (ugly!)

So, what's the best way to get this? Must I use glibmm threads? Maybe
forking is enough?? Maybe i must not fork... maybe it can be done using
one single thread... I'm asking because related documentation is very
sparse, and I'm lost.

What are your advices?







-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB7IpbZSBU6dC79g0RAioCAJwNLkWFYn2wNwcAQFLk9r5q54wBGACaAp8z
t5e1djGFMp8GRiOIOWGFkzo=
=tA6z
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]