Updated documentation for 'emmreassembly'.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8591 4b0bc96b-bc66-0410-9d44-ebda105a78c1
Introduce sleepms_on_cond().

The function uses pthread_cond_timedwait() to implement sleep which
can be canceled at any time by poking the sleep condition variable.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8592 4b0bc96b-bc66-0410-9d44-ebda105a78c1
log: Allow log thread to be stopped.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8593 4b0bc96b-bc66-0410-9d44-ebda105a78c1
log: Reliably stop log thread and wake it up only when there is new data.

This commit allows us to wake up logging thread only when there is new
data and to stop the thread reliably on oscam exit.

Now oscam would waste CPU to wake up every 250 ms even when there is
nothing to log.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8594 4b0bc96b-bc66-0410-9d44-ebda105a78c1
log: Remove temporary log blocking.

Log blocking was introduced in r6585 as a way to control how much records
log_list can accumulate between flushes. The mechanism was needed because
logging thread slept 250 ms between processing the logging messages and in
that time a lot of message can be logged.

Now that we wake up logging thread on demand and do not stop processing
messages until the log_list is empty we can use much simpler mechanism
for making sure log_list is not getting too big.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8595 4b0bc96b-bc66-0410-9d44-ebda105a78c1