[linux-ileri] Re: thread process

---------

From: Enver ALTIN (enver.altin@frontsite.com.tr)
Date: Wed 30 Jun 2004 - 19:03:56 EEST


On Wed, 2004-06-30 at 16:52 +0300, =?UTF-8?Q?Fatih_Özcan?= wrote:
> Linux'da hem thread hem de process'leri ps -aux komutu ile gorebiliyor
> muyum?
NPTL ile hayır, eski PTL ile evet.

> Thread yaratmak icin hangi fonksiyonu ve parametreyi kullanıyoruz?

glib: g_thread_create()

GThread* g_thread_create (GThreadFunc func,
                                             gpointer data,
                                             gboolean joinable,
                                             GError **error);

pthread fonksiyonları yerine glib kullanmanızı şiddetle tavsiye ede
bilirim.

-HTH

--
 __________
|          |
|          |  Enver ALTIN (a.k.a. skyblue)
|          |  Software developer, IT consultant
|    FRONT |
|==========|  FrontSITE Bilgi Teknolojisi A.Ş.
|_____SITE_|  http://www.frontsite.com.tr/
-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBA4uRsZCB2FZvqK0sRAiSsAJ97ubUNtcsK1HXIY5ix2LsuiKzITACeJk+v
dPYnW84tE+CEDIyQRqjWuRQ
=yuXN
-----END PGP SIGNATURE-----

---------

Bu arsiv hypermail 2.1.7 tarafindan uretilmistir.