Hello!

(Sorry, lost the thread - start a new one)

Mario asked a few questions and I like to comment on those:

>Should it be possible to allow multiple threads to set different file creation 
>modes? As far as I understand, Scsh allows that (I may be wrong, though).

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)

>How should the umask support be implemented? As Peter suggests (i.e., having 
>file-creation-mode-mask and a setter for it)? Or just 
>set-file-creation-mode-mask! which is just a direct binding to the umask 
>syscall?

I'd prefer the accessor + setter.

>Maybe the poll should contain more options, like:

I would suggest a simple yes/no poll. All discussion shoult take place
before the time the poll is taken. If a CR gets rejected, further
discussion can go into details.


cheers,
felix

_______________________________________________
Chicken-hackers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to