chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] CR: umask support (#424)


From: Jim Ursetto
Subject: Re: [Chicken-hackers] CR: umask support (#424)
Date: Tue, 23 Nov 2010 10:07:34 -0600

> I'm strongly against this. I don't see the advantage of doing so
> and I find it unintuitive. A process is a process and a thread
> is a thread. The umask is a process-specific setting, why make
> it thread-specfic, then? (besides the obvious implementation
> problems)

Agreed. Posix chdir is not thread-safe either and everyone lives with it. Time 
and again some new guy has the idea of a local chdir and it's shot down; for
example see Sun bug 4045688.  There are some nonstandard syscalls on Linux & 
Solaris for doing so, but note the operative word. 

In short, +1.

Jim


reply via email to

[Prev in Thread] Current Thread [Next in Thread]