ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Roman Savochenko <rom_as@diyaorg.dp.ua>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] linux threads
Date: Tue, 10 Jan 2006 12:12:39 +0200
Message-ID: <43C38897.5080301@diyaorg.dp.ua> (raw)
In-Reply-To: <200601101020.47220.karelin-ap@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

Карелин А. П. пишет:

>>Тут возник очень важненький вопросик по поводу производительности Linux,
>>и связан он с потоками, а именно
>>КАК реализована поддержка потоков в AltLinux на уровне ядра? В
>>реализации GNU/Linux она реализована частично,
>>а именно при создании потока создаётся новый !!!процесс!!!, что само по
>>себе достаточно нехорошо...
> 
> Как Вы увидели этот новый процесс?
> У меня в программе создается n потоков, но по ps aux я вижу один "головной" 
> процесс.

Смотрите в pstree или ksysguard.
Ещё можете вычитывать и печатать pid в потоках своей программе, увидите 
что pid будут разными.

С уважением Роман!

[-- Attachment #2: rom_as.vcf --]
[-- Type: text/x-vcard, Size: 270 bytes --]

begin:vcard
fn:Roman Savochenko
n:Savochenko;Roman
org:NIP "DIYA"
adr:;;;Dneprodzerjinsk;;;Ukraine
email;internet:rom_as@diyaorg.dp.ua
tel;work:+380569262025
tel;fax:+380569262025
tel;home:+380569292458
tel;cell:+380679859815
x-mozilla-html:FALSE
version:2.1
end:vcard


  reply	other threads:[~2006-01-10 10:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-10  6:52 Oleg Pan
2006-01-10  6:55 ` Andrey Rahmatullin
2006-01-10  7:20 ` Карелин А. П.
2006-01-10 10:12   ` Roman Savochenko [this message]
2006-01-10 16:16   ` Andrey Rahmatullin
2006-01-10 10:17 ` Roman Savochenko
2006-01-10 16:13   ` Andrey Rahmatullin
2006-01-11 18:00     ` Gleb Kulikov
2006-01-11 18:34       ` Andrey Rahmatullin
2006-01-25  4:57   ` Pyatnitskich Evgeniy
2006-01-28 21:58 ` Eugene Seppel
2006-01-30  9:06   ` Michael Isachenkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43C38897.5080301@diyaorg.dp.ua \
    --to=rom_as@diyaorg.dp.ua \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git