On 26.08.10 16:31, Mindaugas Rasiukevicius wrote: >> Module Name: src >> Committed By: cegger >> Date: Thu Aug 26 12:48:19 UTC 2010 >> >> Modified Files: >> src/sys/dev/ieee1394: fwdev.c >> >> Log Message: >> don't call tsleep() with any mutexes hold >> >> >> To generate a diff of this commit: >> cvs rdiff -u -r1.23 -r1.24 src/sys/dev/ieee1394/fwdev.c > > The right fix would be to use condvar(9). Generally, tsleep(9) should > be replaced and removed in the longer term.
Sure. Two questions hold me back from doing this: 1. Which cv_*wait* variant should be used? 2. Where should I add the corresponding cv_signal/cv_broadcast ? Is it possible to have an conversion example in the tsleep(9) manpage? Christoph