ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Anton V. Boyarshinov" <boyarsh@ru.echo.fr>
To: devel@altlinux.ru
Subject: Re: [devel] errno and threads
Date: Wed, 13 Nov 2002 12:21:01 +0300
Message-ID: <20021113092105.904B02B518@mail.ru.echo.fr> (raw)
In-Reply-To: <20021113084812.GC14670@kadath.pm.ramax.spb.ru>

Добрый день

On Wed, 13 Nov 2002 11:48:13 +0300
Igor Homyakov <homyakov@ramax.spb.ru> wrote:

> Проясните ситуацию с использованием errno в многопоточных
> программах. Насколько я понимаю, это зависит от реализации. 
> 
> В Linux переменная errno глобальная или локальная для каждого
> процесса ?

man errno
 errno  is  thread-local;  setting  it in one thread does not
affect its
       value in any other thread.

Более того, Стивенс утвержает, что она должна быть локальной для
потока незваисимо от реализации.

Антон
-- 
mailto:boyarsh@mail.ru
mailto:boyarsh@ru.echo.fr
 12:16pm  up 13 days, 20:49,  6 users,  load average: 0.00, 0.02,
0.00


  reply	other threads:[~2002-11-13  9:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-13  8:48 Igor Homyakov
2002-11-13  9:21 ` Anton V. Boyarshinov [this message]
2002-11-13  9:06   ` Igor Homyakov
2002-11-13 10:14     ` Anton V. Boyarshinov

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=20021113092105.904B02B518@mail.ru.echo.fr \
    --to=boyarsh@ru.echo.fr \
    --cc=devel@altlinux.ru \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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