Revision 1428 trunk/code/projects/libwireless/lib/xbee.c
| xbee.c (revision 1428) | ||
|---|---|---|
| 340 | 340 |
{
|
| 341 | 341 |
#ifndef ROBOT |
| 342 | 342 |
pthread_cancel(*xbee_listen_thread); |
| 343 |
pthread_join(*xbee_listen_thread, NULL); |
|
| 343 | 344 |
free(xbee_listen_thread); |
| 344 | 345 |
lockf(xbee_stream, F_ULOCK, 0); |
| 345 | 346 |
close(xbee_stream); |
Also available in: Unified diff