It was telling that error after doing some modifications...
Yeah i think bharat u r saying correct...
I will try it...
Thanks for reply...

On Sat, Mar 31, 2012 at 11:45 AM, bharat b <bagana.bharatku...@gmail.com>wrote:

> u should get an error: argument of type ‘void* (TraCISagar::)(void*)’ does
> not match ‘void* (*)(void*)’ ...
> The function which is threaded should be either static or global in
> pthread implementation ...
>
>
> On Tue, Mar 27, 2012 at 7:20 PM, Sagar Pareek <sagarpar...@gmail.com>wrote:
>
>> Thanks for reply
>> but tell me two thing , is it true or not?
>> is NULL is not equal to (void*)0 ??
>> AND
>> int a=20;
>> int b=(int)a ;  // Whats wrong in here??
>>
>> Similarly for
>> void * TraCISagar::sender(void* a);
>>
>> then while calling in pthread as
>>  pthread_create(&thread1,NULL,(void*)sender,NULL)
>> instead of
>>  pthread_create(&thread1,NULL,sender,NULL);
>>
>>
>> by the way i already implemented NULL instead of (void*)0
>> and
>> pthread_create(&thread1,NULL,sender,NULL);
>>
>> But not getting why this problem is occurring?
>>
>>
>> On Tue, Mar 27, 2012 at 8:37 AM, SAMM <somnath.nit...@gmail.com> wrote:
>>
>>> Yaa Senthil is right , I overlooked it . In 3rd argument also it is
>>> expecting an address while u r passing the pointer .
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Algorithm Geeks" group.
>>> To post to this group, send email to algogeeks@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> algogeeks+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>
>>
>> --
>> **KIND REGARDS --
>> SAGAR PAREEK
>> COMPUTER SCIENCE AND ENGINEERING
>> NIT ALLAHABAD
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algogeeks@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
>
> **Regards
> *
> * <bagana.bharatku...@gmail.com>
>
> Bharat B | M.Tech II  | C.S.E | IITM
> *
> *
> *Ph: +91 8056127652*
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
**KIND REGARDS --
SAGAR PAREEK
COMPUTER SCIENCE AND ENGINEERING
NIT ALLAHABAD

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to