Yeah what matsp told is right there was a block and as i removed that block it is now working properly...
Type: Posts; User: gopal_85
Yeah what matsp told is right there was a block and as i removed that block it is now working properly...
ok........ no other go have to go up with select call only.....
thank you all.
i think so this will help you....
for(i=0,j=1;i<n;i++,j++)
{
if(i==(n-1))
{
arr[i]=new_number;
is there any way really to schedule threads manually??
hmmm..... me even thinkin so to use select but i almost did the entire thing based on thread now have to find a way to change the existin code.....
im doin it in unix using gcc.
im trying to implement a multiclient tcp/ip chat and in the server side im spawning threads for every client. but during execution the processor is executing only one thread and the main thread. is...
im propably using your first code.......... now i think so this would work for you........ im printing array[9][0]...........array[9][9].....
#include <stdio.h>
int main(void)
{
int **...
sorry i propably misunderstood the question then it is always 1 ie option d
but im little confused with the TIME there it is sayin that it is intercharacter timer what it means and how this ioctl() works???
thanks buddy. but what you think about the ioctl() function in the termio.h would it help in any ways, there is a option to set the MIN and TIME value in that??
i will probably say that all values for val right from -65k to +65k for int val or for long type or any number datatype would go true. so i would say the correct option is not there.
But for me if...
it is in linux platform and using gcc compiler. what i want to do is if the user doesnt enters anything for 10 seconds i should move to the next statement of the code after the scanf.
im gettin input from the user and the process stops there until the user enter anything is there anyway to move out of scanf if the user doesnt enters anything for a particular time??