Search Results

Search: Posts Made By: arunchaudhary19
Forum: Programming 05-29-2009
1,894
Posted By arunchaudhary19
As I noticed the text "BOOK-SEC-" is fixed and...
As I noticed the text "BOOK-SEC-" is fixed and occurring again and again, what you can do is :: Search the pattern "BOOK-SEC-" in your string then read one byte. Also maintain count in your string...
Forum: Programming 05-26-2009
4,881
Posted By arunchaudhary19
i started getting Abort(core dump) error ...
i started getting Abort(core dump) error
Process has received a fatal signal, which has caused it to terminate and dump core. Probably, the program called the abort() function, which causes it to...
Forum: Programming 05-25-2009
6,942
Posted By arunchaudhary19
(obviously I am not interested in writing the...
(obviously I am not interested in writing the pointer but the actual record)
Copy the actual record into some buffer using sprintf, then write it to the file.
Forum: Programming 05-25-2009
6,942
Posted By arunchaudhary19
The output that I get is: sizeof(data)=8,...
The output that I get is:
sizeof(data)=8, sizeof(in)=16
Why is it so ?

int i;:::: 4 bytes for integer
struct tinner *inner;::::::: 4 bytes for pointer.
Forum: Programming 05-25-2009
8,211
Posted By arunchaudhary19
the pthread_join call suspends the calling thread...
the pthread_join call suspends the calling thread until a join is complete. When the join is done, the caller receives the joined thread’s termination status as the return from pthread_join. The...
Forum: Programming 05-25-2009
8,211
Posted By arunchaudhary19
I think this error Failure message: ...
I think this error
Failure message:
==============
timer6: can't join with thread0, status: 3
occurs whenever thread0 dies first, or can say scheduled first.

Run the code again, and make the...
Forum: Programming 05-25-2009
3,300
Posted By arunchaudhary19
Lock is required during either thread is wanting...
Lock is required during either thread is wanting a write operation.
these may be the conditions:::::
1.)Read-Write,
2.)Write-Read,
3.)Write-Write.

You don't need a Lock in this condition...
Forum: Programming 05-21-2009
24,556
Posted By arunchaudhary19
read the manual page "man rm"
read the manual page
"man rm"
Forum: Programming 05-21-2009
35,626
Posted By arunchaudhary19
Might this be helpful to you... #include...
Might this be helpful to you...


#include <stdio.h>
#include <io.h>

#include <stdio.h>

//#define LINUX /* define this if you are on linux */
//#define WIN32 /* define this if you are on...
Forum: Programming 05-21-2009
35,626
Posted By arunchaudhary19
Yes it is possible. Have a look on SMTP...
Yes it is possible.
Have a look on SMTP protocol.
2,353
Posted By arunchaudhary19
more than one linux on same machine?????
can i install more than one linux on a same machine.........
i.e fedora and Kubuntu on asame machine.....
will it affect a performance??????
Forum: Programming 01-12-2008
4,596
Posted By arunchaudhary19
c++ using list class:: insert()
hello,
I am new to STL in c++ and using list class.
I had a application in which I have to insert object of a class into a list at particular position......
So first of all I had to call function...
Forum: Programming 12-10-2007
12,715
Posted By arunchaudhary19
Thanks Sir, my both -----Socket part and Pipe &...
Thanks Sir,
my both -----Socket part and Pipe & message queue part are working correctly.....
thanks a lot for ur precious help.....
Forum: Programming 12-10-2007
9,399
Posted By arunchaudhary19
Multi-threading-- calling same function through different threads
Sir,
Can I call same function in the start routines of different Threads.
I have created two different threads....and wanna call same function from both threads....is it possible???
Also can I...
Forum: Programming 12-07-2007
12,715
Posted By arunchaudhary19
sir, that I am doing correctly..... ...
sir,


that I am doing correctly.....

I am only having one client attached to the server.....(acc to my system).

first of all I starts my server.....and from another system I starts client...
Forum: Programming 12-06-2007
12,715
Posted By arunchaudhary19
Sir, now facing problem while using socket...
Sir,
now facing problem while using socket comm. and select........my message queue and pipe part is working ....no problem at that side....
my application is continously reading through pipe but...
Forum: Programming 11-29-2007
12,715
Posted By arunchaudhary19
you had send me this code.....but I didnt able to...
you had send me this code.....but I didnt able to understand why you had used p+=i; where p is a char string ......
moreover I am getting more difficulties with code...i.e through pipe read end I am...
Forum: Programming 11-29-2007
12,715
Posted By arunchaudhary19
I had put wait in parent ....so that parent will...
I had put wait in parent ....so that parent will not terminate untill child will not free its resources........If I will not use wait in parent, the parent will terminate and child will be...
5,701
Posted By arunchaudhary19
Is there any solution ????????
Is there any solution ????????
Forum: Programming 11-29-2007
12,715
Posted By arunchaudhary19
Sir, As u told me i had used strace -ppid and...
Sir, As u told me i had used strace -ppid
and here is the output what I am getting........
it is showing me two pids for a same process........and when I used to strace to them then its showing me...
Forum: Programming 11-28-2007
12,715
Posted By arunchaudhary19
now facing another problem............ Now I am...
now facing another problem............
Now I am able to send and recieve messages on message queue...........
but if my process goes idle for some tome 10-20 minutes then its blocking and after...
Forum: Programming 11-28-2007
12,715
Posted By arunchaudhary19
sir, I am modifing my fist line of my previous...
sir, I am modifing my fist line of my previous post.............

If I had to recieve data through message queue in child process only once....then its okay....my code is working fine........
Forum: Programming 11-28-2007
12,715
Posted By arunchaudhary19
If I had to recieve data through message queue in...
If I had to recieve data through message queue in child process...then its okay....my code is working fine........

what should I do to make make my child to collect data through message queue...
Forum: Programming 11-28-2007
12,715
Posted By arunchaudhary19
I am sorry sir........I am unable to understand...
I am sorry sir........I am unable to understand what you want to say....??????
please tell me in detail.

is it safe to use child process with loops inside it???????
Forum: Programming 11-28-2007
12,715
Posted By arunchaudhary19
NO.....currently I am not considering...
NO.....currently I am not considering length........because first I am testing for fixed size string.........
how should I make my child not to interfear with parents data.........
because I will...
Showing results 1 to 25 of 72

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