Subject:
|
Re: is it possible to remove lnp_handler while running ?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 16 Jul 2002 17:49:23 GMT
|
Viewed:
|
2337 times
|
| |
| |
heh.. tried that.. no luck :(
sigh..after yet a couple of hours trying to figgure this out, im 99,99% sure
that the problem is in lnp_addressing_write.
could this be that the function is not thread safe ?
but then again i have protected the function with mutexes (to ensure that i
had no context switch while it tries to send)and it still didnt work.
gah.. im getting desperate here
im obvisouly missing something important here, but i cannot se it :(
ps: sending and recieving at the same time is has no problem after all :)
regards
a desperate kenneth johansen
kennethj@stud.cs.uit.no
>
> I imagine you could just do something like
>
> lnp_addressing_set_handler( PORT, (lnp_addressing_handler_t) NULL );
>
> I'm also curious as to why lnp_addressing_write hangs for you... I don't
> remember ever having problems with two bricks reading and writing
> concurrently.
|
|
Message has 1 Reply:
Message is in Reply To:
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|