Search Results

Search: Posts Made By: xyz123456
2,327
Posted By xyz123456
Fork and \n
Hi,
I wrote a simple program for understanding the fork command. The code is as below

int main(void)
{
fork(); printf("hi 1 \n");
fork(); printf("hi 2 \n");
fork(); printf("hi 3 \n");
}

I...
Forum: Programming 05-15-2008
2,809
Posted By xyz123456
Fork and \n
Hi,
I wrote a simple program for understanding the fork command. The code is as below
int main(void)
{
fork(); printf("hi 1 \n");
fork(); printf("hi 2 \n");
fork(); printf("hi 3 \n");
}...
Forum: Linux 04-11-2008
4,091
Posted By xyz123456
Re Strange problem with gettimeofthe day
Sorry I mentioned the function name wrongly. It is gettimeofday and not gettimeoftheday.
Forum: Linux 04-11-2008
4,091
Posted By xyz123456
Strange problem with gettimeoftheday function
Hi all,
I am using pthread_cond_timedwait function in my program, to generate the time period of waiting i use gettimeoftheday function.

When i run the code after compiling i get a core...
Showing results 1 to 4 of 4

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