myzlib/worker.h
void process()
    {
        int len = compress_function(m_inbuffer->data(), m_outbuffer->data(), m_inbuffer->getLen());

#ifdef  DEBUG
        printf("compress success data len = %d\n", len);
#endif
        delete (m_inbuffer);

        m_outbuffer->setLen(len);
        m_outbuffer->setFinish(true);
    }
/**
     *  @func   threads will run this function 
     */
@func   threads will run this function
@func threads will run this function
void process()
    {
        int len = compress_function(m_inbuffer->data(), m_outbuffer->data(), m_inbuffer->getLen());
#ifdef  DEBUG
        printf("compress success data len = %d\n", len);
#endif
        delete (m_inbuffer);
        m_outbuffer->setLen(len);
        m_outbuffer->setFinish(true);
    }
void process ( ) { int len = compress_function ( m_inbuffer -> data ( ) , m_outbuffer -> data ( ) , m_inbuffer -> getLen ( ) ) ; #ifdef DEBUG printf ( " \n " , len ) ; #endif delete ( m_inbuffer ) ; m_outbuffer -> setLen ( len ) ; m_outbuffer -> setFinish ( true ) ; }
@func   threads will run this function
@func threads will run this function