src/libmetha/worker.c
static M_CODE
lm_worker_init(worker_t *w)
{
    w->num_discarded_urls = 0;

    if (lm_worker_call_crawler_init(w) == M_OK) {

        lm_notify(w->m, LM_EV_THREAD_READY);

        return M_OK;
    }

    return M_ERROR;
}
/** 
 * Set up the worker so it's ready for execution.
 **/
Set up the worker so it's ready for execution.
Set up the worker so it ' s ready for execution .
static M_CODE
lm_worker_init(worker_t *w)
{
    w->num_discarded_urls = 0;
    if (lm_worker_call_crawler_init(w) == M_OK) {
        lm_notify(w->m, LM_EV_THREAD_READY);
        return M_OK;
    }
    return M_ERROR;
}
static M_CODE lm_worker_init ( worker_t * w ) { w -> num_discarded_urls = 0 ; if ( lm_worker_call_crawler_init ( w ) == M_OK ) { lm_notify ( w -> m , LM_EV_THREAD_READY ) ; return M_OK ; } return M_ERROR ; }
Set up the worker so it's ready for execution.
Set up the worker so it ' s ready for execution .