Sean Boudreau(deleted)
|
Re: Reg -sem_wait in io-pkt thread.
|
Sean Boudreau(deleted)
01/12/2010 8:13 AM
post45012
|
Re: Reg -sem_wait in io-pkt thread.
On Tue, Jan 12, 2010 at 05:28:10AM -0500, Janani K wrote:
> Hi ,
>
> I have download the sample ethernet driver from QNX 6.4.1.
> 1. Create a new thread using pthread function in io-pkt entry function.
> 2. I have created a semaphore and wait on it in phtread handler function.
>
> While loading sample ethernet driver, its crashing.
>
> I think its crashing because of sem_wait.
> is there any possibility to use sem_wait in the io-pkt thread?
>
The use of sem_wait() should be fine.
Regards,
-seanb
|
|
|
Janani K
|
Re: Reg -sem_wait in io-pkt thread.
|
Janani K
01/12/2010 8:27 AM
post45018
|
Re: Reg -sem_wait in io-pkt thread.
Hi Sean,
I m not using nw_pthread_create function to create a thread instead i used pthread_create() function.
When i used sem_wait in pthread handler function, its crashing.
Thanks and Regards
K.Senthil
|
|
|