LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2004, 11:13 AM   #1
ayb
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
Can PIPE_BUF constant in linux/limits.h be changes ?


I am trying to find out if there is a way to change the PIPE_BUF constant defined
in linux/limits.h to increase the number of bytes allowed for atomic writes to a pipe.

Would this have any adverse effect on linux kernel 2.6 since it is preemtive ?
 
Old 06-25-2004, 11:48 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
i am far from competant to be addressing this so please consider the reality i am possibly all wrong !
i think you certainly couldn't change that without recompiling
glibc (thats where that symbol would reside i think) and certainly you would have to change it in the currently running kernel source and recompile the kernel as well
then of course you would have to recompile anything else that picked that up at compile time
and has it hardcoded in...
as far as runtime troubles in the kernel i think it's one of those try it and see kind of things
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no /etc/limits ? Mig21 Slackware 7 07-26-2005 12:18 AM
Constant # Installs Leo Leavitt Linux - Software 5 06-02-2005 11:12 AM
The limits of Linux Aphex_Twin2 Linux - General 5 05-23-2005 10:45 AM
[URGENT]linux/limits.h: Input/output error havish14 Programming 3 04-20-2004 03:09 PM
Oh, that constant pinging... thosm Linux - Networking 4 07-31-2003 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration