Search Results

Search: Posts Made By: amejoish
Forum: Programming 11-14-2011
5,214
Posted By amejoish
Yes , you are right but i am modifying the 'in'...
Yes , you are right but i am modifying the 'in' value as well, so it should work correctly right?
Forum: Programming 11-14-2011
5,214
Posted By amejoish
HI Sivasankar, Additionally i added sleep...
HI Sivasankar,

Additionally i added sleep funtion , am delayin both the threads for random no of time and its working exactly the way i want it.

Now am implementing next 2 stages
stage3: read...
Forum: Programming 11-13-2011
5,214
Posted By amejoish
Actually its a project not a homework assignment
Actually its a project not a homework assignment
Forum: Programming 11-11-2011
5,214
Posted By amejoish
yes it is an assignment !
yes it is an assignment !
Forum: Programming 11-11-2011
5,214
Posted By amejoish
#include<stdio.h> #include<unistd.h> ...
#include<stdio.h>
#include<unistd.h>
#include<stdlib.h>
#include<sys/types.h>
#include<string.h>
#include<sys/wait.h>
#include<sys/stat.h>
#include<dirent.h>
#include<semaphore.h>...
Forum: Programming 11-08-2011
5,214
Posted By amejoish
The full semaphore increments (sem_post) when a...
The full semaphore increments (sem_post) when a file is found after which the stage 2 tries to lock the mutex and stats the file for checking the size.
Forum: Programming 11-06-2011
5,214
Posted By amejoish
bounded buffer implementation
Hi Experts,

I have a programming assignment that asks us to implement a pipegrep function. it basically has 5 stages and each stage has a thread and buffers are used between stages.

am...
3,297
Posted By amejoish
Hey Corona , Need your help again, related...
Hey Corona ,

Need your help again, related to piping .

eg:
ls -al|grep -i sam.

I have been asked to implement advanced shell, support pipe features along with others.

i am currently...
3,297
Posted By amejoish
Thanks corona, went wrong conceptually ,...
Thanks corona, went wrong conceptually , over-thought i guess.......
3,297
Posted By amejoish
Pipe Functionality
Hi,

I am trying to emulate the '|' functionality through pipe function call. I am passing the o/p of exec in parent as input to the exec in child. The buf is readin the o/p but the exec in child...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 12:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy