Changeset 2811 for trunk/libffado/src/libieee1394/IsoHandlerManager.cpp
- Timestamp:
- 06/01/21 17:11:47 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/libieee1394/IsoHandlerManager.cpp
r2803 r2811 146 146 // FIXME: This is a very crude guard against some other thread 147 147 // deleting handlers while this function is running. While this 148 // didn't tend to happen with the old kernel firewire stack, delays148 // didn't tend to happen with the old kernel FireWire stack, delays 149 149 // in shutdown experienced in the new stack mean it can happen that 150 150 // a handler disappears during the running of this function. This … … 1336 1336 // have called disable() on the handler (in the FW_ISORCV/FW_ISOXMT 1337 1337 // threads). However, the raw1394_destroy_handle() call therein takes 1338 // upwards of 20 milliseconds to complete under the new kernel firewire1338 // upwards of 20 milliseconds to complete under the new kernel FireWire 1339 1339 // stack, and may not have completed by the time ~IsoHandler() is called by 1340 1340 // the "jackd" thread. Thus, wait for the lock before testing the state … … 1880 1880 if (i == EBUSY) { 1881 1881 // Some other thread is disabling this handler, a process which can 1882 // take considerable time when using the new kernel firewire stack.1882 // take considerable time when using the new kernel FireWire stack. 1883 1883 // Wait until it is finished before returning so the present caller 1884 1884 // can act knowing that the disable has occurred and is complete … … 1923 1923 raw1394_iso_shutdown(m_handle); 1924 1924 1925 // When running on the new kernel firewire stack, this call can take of1925 // When running on the new kernel FireWire stack, this call can take of 1926 1926 // the order of 20 milliseconds to return, in which time other threads 1927 1927 // may wish to test the state of the handler and call this function