02-11-2006
FIFO Pipes
hi thanks a lot for the reply...
well from what I got to know it seems that to change the pipe buffer size I need to effect changes and then recompile my kernel....
is there any way by which i can actually view the pipe buffer size....(just view it and not change it...) ?
thanks in advance.........
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello!
How I can increase or decrease predefined pipe buffer size?
System FreeBSD 4.9 and RedHat Linux 9.0
Thanks! (1 Reply)
Discussion started by: Jus
1 Replies
2. Shell Programming and Scripting
Hi...Can anyone please guide me on FIFO Pipes in UNIX.I have lerant things like creating fifo pipes,using them for reads and writes etc.I want to know what is the maximum amount of memory that such a pipe may have? Also can anyone guide me on where to get info on this topic from? (1 Reply)
Discussion started by: tej.buch
1 Replies
3. Programming
hi, I have a problem. I've done a lil program which gets from the server the given persons username a personal folder. I made it with a pipe calling popen with a command, but how can i make the same thing using fifo. I make the fifo with mkfifo() func. and than what. How do I tell the sertver using... (3 Replies)
Discussion started by: atticus
3 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I m beginner for Unix and i want to use FIFO in my 2 Scripts . I want 1 script to read data from FIFO and other will write into FIFO.
Despite reading so many articles/posts i am still unable sunchronize my scripts.
My doubts are
1> Do We require both scripts as daemons to use... (0 Replies)
Discussion started by: Akshay
0 Replies
5. Programming
Hello,
I have a FIFO which i would like to open O_WDWR | O_NONBLOCK | O_ASYNC and have a SIGIO signal generated when there is input on the FIFO, but there a re a bunch of bugs surrounding this (like for instance i read somewhere that you have to set O_ASYNC with fcntl etc.
is this even... (0 Replies)
Discussion started by: davo666
0 Replies
6. Programming
hi, my problem is
i have 10 thread for produces double two dimensional array these will produces 2d array 400 times ,then i have a thread to takes a two dimensional array then it inverse , and most 10 array can be in the fifo , and threads given takes one by one, now my problem is , i cant... (0 Replies)
Discussion started by: bblackened
0 Replies
7. Programming
Hello C programming fellows!!!
I'm doing a program with multiple threads in gnu/linux, ubuntu for beeing precise...
This program consist in multiple threads, as logical each thread do different things and communicate to each other using IPC.
The problem is that in "process 1" I have a... (1 Reply)
Discussion started by: Sandia_man
1 Replies
8. Programming
Dear friends
i'm want to implement a program which one file is split into fragments by the server (by some random size) and sent to some processes, so these processes get randomly the fragments of the original file from the server, then the downloader randomly connects to some of these processes... (0 Replies)
Discussion started by: saman_glorious
0 Replies
9. Programming
=server.c=
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <signal.h>
#define MSGSIZE 50 (1 Reply)
Discussion started by: sponge
1 Replies
10. UNIX and Linux Applications
Hello ,
I am working on unix FIFO IPC. i have a doubt regarding that.
If the fifo is updated(write()) through one process....can we able to send any signal that fifo is updated and ready to get read...to other process.?? (0 Replies)
Discussion started by: Harry443
0 Replies
LEARN ABOUT DEBIAN
gfs_pio_set_view_local
GFS_PIO_SET_VIEW_LOCAL(3) GFS_PIO_SET_VIEW_LOCAL(3)
NAME
gfs_pio_set_view_local - change file view to the corresponding fragment
SYNOPSIS
#include <gfarm/gfarm.h>
char *gfs_pio_set_view_local (GFS_File gf, int flags);
DESCRIPTION
gfs_pio_set_view_local() changes the process's view of the data in the file specified by gf to a file fragment in the local file view. The
local file view model assumes each process has its own file fragment which is specified by the argument node of gfs_pio_set_local(3).
The total number of file fragments is also specified by the argument nnode of gfs_pio_set_local(3). If it is different from the total
fragment number of the existent file, it is erroneous.
Before changing to the local file view, it is necessary to call gfs_pio_set_local(3) in advance.
Values of flag are constructed by a bitwise-inclusive-OR of GFARM_FILE_SEQUENTIAL, GFARM_FILE_REPLICATE, and GFARM_FILE_NOT_REPLICATE. For
details, refer to gfs_pio_set_view_index(3).
By default, Gfarm files are accessed as a whole file in global file view where each fragment can be seamlessly accessed.
RETURN VALUES
NULL The function terminated successfully.
GFARM_ERR_NO_MEMORY
Insufficient memory was available.
GFARM_ERR_OPERATION_NOT_PERMITTED
The file is not a fragmented file.
GFARM_ERR_FRAGMENT_NUMBER_DOES_NOT_MATCH
The total number of file fragments is different from the existence one.
Others An error except the above occurred. The reason is shown by its pointed strings.
SEE ALSO
gfs_pio_create(3), gfs_pio_open(3), gfs_pio_set_local(3), gfs_pio_set_view_index(3)
Gfarm 18 March 2003 GFS_PIO_SET_VIEW_LOCAL(3)