Menu ▾ ▴

Commit [r2634]  Maximize  Restore  History

Complete the error checking and adding diagnostic message on mutex lock/unlock

failure. So far this has produced (on OS/X) the following when mpeg2enc
is run with other than -M 0:

INFO: [mpeg2enc] Creating worker thread
2 pthread_mutex_lock=22

That message comes from channel.hh. error 22 is EINVAL which seems to point
at the 'atomic' mutex not being initialized. The manpage says:
[EINVAL] The value specified by mutex is invalid.

sms00 2005-01-14

changed /trunk/mjpeg_play/mpeg2enc/picturereader.cc
changed /trunk/mjpeg_play/mpeg2enc/synchrolib.cc
/trunk/mjpeg_play/mpeg2enc/picturereader.cc Diff Switch to side-by-side view
Loading...
/trunk/mjpeg_play/mpeg2enc/synchrolib.cc Diff Switch to side-by-side view
Loading...