]> rtime.felk.cvut.cz Git - frescor/forb.git/commit
Fixed problem with port destroying
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 8 Oct 2008 18:15:12 +0000 (20:15 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 8 Oct 2008 18:15:12 +0000 (20:15 +0200)
commitd50b8eae7859503ec57f8193d9e46897565ba8b6
treed4dedad78ea323788b642d44d642d84236e099d7
parentccff6686eecae30b5b1c5ec7182b43300a3c1035
Fixed problem with port destroying

As pthread_join() equivalent is not available in FOSA, we didn't wait
for the port's threads to finish, which caused segmentation faults when
the port's memory was freed and the threads was still running.
src/iop.c
src/port.c
src/syncobj.c
src/tests/discovery.c